Using a Custom Mapbox MapStyle
Web Javascript SDK
const mapView = new mapsindoors.mapView.MapboxV3View({
...,
style: "URI_TO_YOUR_CUSTOM_STYLE"
});Android SDK
mMap.loadStyle("URI_TO_YOUR_CUSTOM_STYLE")
val mapConfig = MPMapConfig.Builder(
requireActivity(),
mMap,
mMapView,
getString(R.string.mapbox_api_key),
false
).build()
MapControl.create(mapConfig) {mc, error ->
if (error != null) {
// Handle error
} else {
mMapControl = mc
}
}iOS SDK
Flutter Plugin
React Native Module
Last updated
Was this helpful?