Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Layers control won't remove ESRI layers on uncheck #2

Open
northlandiguana opened this issue Aug 1, 2012 · 2 comments
Open

Layers control won't remove ESRI layers on uncheck #2

northlandiguana opened this issue Aug 1, 2012 · 2 comments

Comments

@northlandiguana
Copy link

Layers I'm bringing in through ESRI rest services aren't removed from the map when I uncheck them in a layers control (L.Control.Layers). Got any advice?

@denny123
Copy link

denny123 commented Oct 7, 2019

me too, not remove ESRI layer after added to map.

@denny123
Copy link

denny123 commented Oct 7, 2019

Solution:
In file TileLayer.ESRI.js in finction "onRemove" added:
"L.TileLayer.prototype.onRemove.call(this, map);"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants