Skip to content
#

drawing

Here are 1,156 public repositories matching this topic...

zb13y
zb13y commented Aug 5, 2015

I have such strange saves (duplicates) - ora~, jpg~, png~. I can rename them and they will work normally.
Save as - fine save without duplicates.
Export - fine save without duplicates.
Only 'Save' have such problem.
Krita have same problem, only 'File - Save'. I thought that i have some problems with my computer, but Paint.NET saves normally without duplicates. GIMP - i dont know where are there '

leaflet-geoman
Falke-Design
Falke-Design commented Oct 19, 2021

In the event payload the return type of layer is `L.Layer? so it needs to be casted to the Layer-Type.

layer.on('pm:edit', (e) => {
  if(e.shape === 'Polygon'){
     (e.layer as Polygon).getLatLngs();
  }
});

This should documented in the Readme

Explainations:

pencil

Improve this page

Add a description, image, and links to the drawing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the drawing topic, visit your repo's landing page and select "manage topics."

Learn more