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
I have a react native application where I have multiple styles that can be categorized into two types. Styles that are used as basemaps and other styles that are used as overlays on top of the basemap styles. The user should be able to choose multiple of those overlays in combination with any single basemap style. I came up with code that combines the layers and sources for each style and combines them into a single master JSON style that is fed to the MapView. This approach is working for some overlay styles but there are conflicts between shapes. When choosing multiple overlays where each overlay contains shapes and/or vector data, conflicts happen where the last chosen overlay's shapes/vectors disappear when the map is zoomed in. The text is not affected though. Below is the code for the store that manages appends and removes the layers and the MapView component:
I have a react native application where I have multiple styles that can be categorized into two types. Styles that are used as basemaps and other styles that are used as overlays on top of the basemap styles. The user should be able to choose multiple of those overlays in combination with any single basemap style. I came up with code that combines the layers and sources for each style and combines them into a single master JSON style that is fed to the
MapView
. This approach is working for some overlay styles but there are conflicts between shapes. When choosing multiple overlays where each overlay contains shapes and/or vector data, conflicts happen where the last chosen overlay's shapes/vectors disappear when the map is zoomed in. The text is not affected though. Below is the code for the store that manages appends and removes the layers and the MapView component:Store:
Any ideas?
The text was updated successfully, but these errors were encountered: