Leaflet.Path.Transform icon indicating copy to clipboard operation
Leaflet.Path.Transform copied to clipboard

setLatLngs not working

Open hamelraj89 opened this issue 3 years ago • 1 comments

I try to update geometry already drawn on the map. but seems no error but it's not updating why?

 var layer = this.getMapObject(id);
  layer.setLatLngs([[144.32965127509, -38.135825028205],[144.32972099984, -38.135581614469],[144.3305381716, -38.135726427806],[ 144.33046844684, -38.135969841054]]);
  layer.transform.reset();

hamelraj89 avatar Mar 15 '22 11:03 hamelraj89

what sort of error?

w8r avatar Oct 16 '24 09:10 w8r