Vizzuality / layer-manager

A library to get a layer depending on provider and layer spec
https://layer-manager-docs.vercel.app
MIT License
18 stars 12 forks source link

remove .__deck check that prevents layers to be on the correct zIndex #76

Closed mbarrenechea closed 4 years ago

mbarrenechea commented 5 years ago

We don't know why this.map.__deck && this.map.__deck.layerManager was there. If I reload my page it seems that decode layers won't be on the correct zIndex. If I remove it, everything is working...

@edbrett @andresgnlez Could you test it on your projects before merging?

andresgnlez commented 5 years ago

@mbarrenechea will check today.

andresgnlez commented 5 years ago

@mbarrenechea seems to be working on my side, no issues preserving the layer order after refreshing.