Switching Solutions
Some larger organisations may have not just multiple Venues, but also multiple Solutions in the MapsIndoors system. Therefore, it is naturally important to be able to switch between them.
At it's core, this is done simply by switching out the API key and reloading the system. However, there are a few more steps that can be done to ensure smooth transition between Solutions.
Starting a Solution
To initialize MapsIndoors, do the following:
Google Maps
Mapbox
Switching Solutions
You switch Solutions by changing the active API key using setAPIKey()
.
We recommend creating your own function to call in the future for this purpose, like the example here with switchSolution()
:
Google maps
Mapbox
Last updated
Was this helpful?