pm:cut - how to copy GeoJSON feature properties from originalLayer to new layer(s)? #1556
-
hi, when I cut a linestring I would like to pass the properties of the cutted feature to the resulting linestrings. I thought to do that listening to unfortunately I was unable to figure out how to assign the properties from could you please point me into the right direction? thx |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to copy the properties from the geojson data on the Leaflet Layer-Object.
|
Beta Was this translation helpful? Give feedback.
You need to copy the properties from the geojson data on the Leaflet Layer-Object.
https://plnkr.co/edit/Q6qaZM5QxsxV7hCG