Using a Custom Mapbox MapStyle
MapsIndoors as default uses a custom Mapbox MapStyle to access certain features on the Mapbox map.
You can create your own custom style in Mapbox Studio and have MapsIndoors use that instead of the default used by MapsIndoors.
You will need to initialise Mapbox with your custom Mapbox MapStyle and disable the default MapsIndoors is using.
Below are examples of how to do that in the various SDKs.
Web Javascript SDK
Android SDK
This requires using Mapbox 11, i.e. you will need to use the MapsIndoors dependency com.mapspeople.mapsindoors:mapbox-v11
in your build.gradle
file.
iOS SDK
This requires using Mapbox 11, i.e. you will need to use the Swift Package Manager distribution of the MapsIndoors iOS SDK or specify the MapsIndoorsMapbox11
pod in your Podfile
.
Flutter Plugin
React Native Module
Last updated
Was this helpful?