Skip to content
#

vector

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

milvus
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:

geocompr
30-seconds-of-cpp

Improve this page

Add a description, image, and links to the vector 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 vector topic, visit your repo's landing page and select "manage topics."

Learn more