Skip to main content
added 7 characters in body
Source Link
alphabetasoup
  • 9k
  • 4
  • 40
  • 79

map.on('pm:edit', function (e) {map.on('pm:edit', function (e) {

should be drawnItems.on('pm:edit', function (e) {drawnItems.on('pm:edit', function (e) {

ee is not very helpful without a lot of work. It does not contain the idID of the shape being edited nor does it contain the selected vertex. You would have to compare the e._layerse._layers to an earlier copy to get meaningful data.

map.on('pm:edit', function (e) {

should be drawnItems.on('pm:edit', function (e) {

e is not very helpful without a lot of work. It does not contain the id of the shape being edited nor does it contain the selected vertex. You would have to compare the e._layers to an earlier copy to get meaningful data

map.on('pm:edit', function (e) {

should be drawnItems.on('pm:edit', function (e) {

e is not very helpful without a lot of work. It does not contain the ID of the shape being edited nor does it contain the selected vertex. You would have to compare the e._layers to an earlier copy to get meaningful data.

Source Link

map.on('pm:edit', function (e) {

should be drawnItems.on('pm:edit', function (e) {

e is not very helpful without a lot of work. It does not contain the id of the shape being edited nor does it contain the selected vertex. You would have to compare the e._layers to an earlier copy to get meaningful data