jdfergason / Leaflet.Ellipse

Ellipse type for Leaflet
Apache License 2.0
45 stars 19 forks source link

Version Error _drawnLayers undefined in _updateEllipse function #16

Open outputtxt opened 1 year ago

outputtxt commented 1 year ago

"leaflet": "^1.9.4", "leaflet-ellipse": "^0.9.1",

apparently leaflet no longer has a _drawnLayers, so in _updateEllipse function change the line: this._drawnLayers[layer._leaflet_id] = layer;

with: this._layers[layer._leaflet_id] = layer;

redzapdos commented 1 year ago

Will close with https://github.com/jdfergason/Leaflet.Ellipse/pull/14

@jdfergason