geoman-io / leaflet-geoman

🍂🗺️ The most powerful leaflet plugin for drawing and editing geometry layers

Home Page:https://geoman.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drawing Polygon reports error and cannot close the Polygon

huangyingjie opened this issue · comments

I use @geoman-io/leaflet-geoman-free@^2.14.2, the following error occurs when drawing polyon.
image

      this.map.pm.enableDraw('Polygon', {
        tooltips: false,
        snappable: true
      })
  • details
image

I'm sorry I can't reproduce it every time, but it happens.

Can you please try if you can reproduce it on this fiddle: https://jsfiddle.net/3mhcsn2e/