Skip to content
Advertisement

Tag: leaflet

Circle getBounds() method fails in Leaflet

I have: but calling getBounds() on circle fails: It fails inside function getBounds in Circle.js which is Leaflet code, The Leaflet getBounds method code is: Trying to access this._map.layerPointToLatLng fails I get the error that this._map is undefined Any ideas? =================================================== Please Note: I also have a polygon defined, and calling the getBounds() on the polygon passes fine and works

Advertisement