You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Imported style using addStyleImportFromURI or addStyleImportFromJSON are always shown below main style loaded using loadStyle, Setting ImportPosition when using addStyleImportFromURI with null values to set it on top has no effect.
Is there any way to have imported style to be on top on main loaded style?
// Load main style
mapboxMap.loadStyle(styleUrl) {
// Add new overlays over main style > are invisible beacause always show below main style....
overlays.forEach { overlay ->
mapboxMap.addStyleImportFromURI(
overlay.id,
overlay.styleUrl,
null,
ImportPosition(null, null, null),
)
}
}
}
The text was updated successfully, but these errors were encountered:
Environment
Observed behavior and steps to reproduce
Imported style using
addStyleImportFromURI
oraddStyleImportFromJSON
are always shown below main style loaded usingloadStyle
, SettingImportPosition
when usingaddStyleImportFromURI
with null values to set it on top has no effect.Is there any way to have imported style to be on top on main loaded style?
The text was updated successfully, but these errors were encountered: