Dragging of parking

This commit is contained in:
portree_kid 2020-07-09 13:13:21 +02:00
parent 9dfd4320fe
commit 8b360beaf1

View File

@ -934,6 +934,9 @@ You should have received a copy of the GNU General Public License along with FG
}
else if (layer instanceof L.ParkingSpot) {
layer.setLatLng(centerLatLng);
layer.glueindex = String(newIndex);
layer.id = String(newIndex);
layer.options.attributes.index = newIndex;
}
else if (layer instanceof L.Polyline) {
layer._latlngs.forEach((e1, index1) => {