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
Neat plugin. Seems to be more complex to do this than you'd expect.
I have a basemap that's geojson data with many objects. There's also another (non-geojson) baselayer. The loading indicator is fine if the base-layer starts as the geojson, but when switching back to the geojson baselayer, the loading indicator appears and never disappears.
The problem seems to be that inside _handleBaseLayerChange the plugin runs addLoader for each child layer (as GeoJSON loads as a group). But they are then never triggered. Don't know why.
I worked around this by simply disabling it for LayerGroups:
Neat plugin. Seems to be more complex to do this than you'd expect.
I have a basemap that's geojson data with many objects. There's also another (non-geojson) baselayer. The loading indicator is fine if the base-layer starts as the geojson, but when switching back to the geojson baselayer, the loading indicator appears and never disappears.
The problem seems to be that inside
_handleBaseLayerChange
the plugin runsaddLoader
for each child layer (as GeoJSON loads as a group). But they are then never triggered. Don't know why.I worked around this by simply disabling it for LayerGroups:
but it's a weak solution
The text was updated successfully, but these errors were encountered: