geoman-io / leaflet-geoman

🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers
https://geoman.io
MIT License
2.23k stars 433 forks source link

v2.6 throws error when using with react-leaflet #640

Closed jeppe-style closed 4 years ago

jeppe-style commented 4 years ago

Hi!

I have been using leaflet-geoman with react-leaflet without problems. When upgrading to v2.6 I get a TypeError t.segment is undefined when moving a circle previously added. This works without problem in v2.5.

steps to reproduce:

  1. open code sandbox
  2. draw a circle
  3. move or change the size of the circle

cheers and thanks for keeping this plugin available - very useful!

Falke-Design commented 4 years ago

@jeppe-style thx for reporting. There is already a fix. #627

Falke-Design commented 4 years ago

Fixed in Release: 2.7.0

jeppe-style commented 4 years ago

@Falke-Design great! Thanks!