Closed jcavat closed 7 years ago
Network inspection shows that the layer is still waiting for resources... Even if we switch to OSM layer
To fix that we need to use layer load/finish events instead of map.
Layers events do not seem to work : https://github.com/ABAPlan/abaplan-core/blob/fix-loading-%2381/app/core/map.ts#L66-L92
Layers events seem to work in layer-add : https://github.com/ABAPlan/abaplan-core/blob/fix-loading-%2381/app/core/map.ts#L56-L84
procrastination ?
Issue closed.
Loading image is not shown anymore, but layer not visible are always loading images (in network inspection). Nothing to do.. layer.suspend()
, layer.hide()
or layer.setVisibility(false)
don't stop these requests..
I think it's normal because each request involve a response.
Not always, because if you go in "City", after "Osm" after "City", requests of first "City" is canceled.
Maybe due to #80.
How to reproduce: