From b841b8560d506b0176b2296acd84ea3ec478b428 Mon Sep 17 00:00:00 2001 From: portree_kid Date: Sun, 21 Jun 2020 22:55:25 +0200 Subject: [PATCH] Parking defaul gate --- src/renderer/components/EditLayer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/components/EditLayer.vue b/src/renderer/components/EditLayer.vue index 2c233b9..e326a33 100644 --- a/src/renderer/components/EditLayer.vue +++ b/src/renderer/components/EditLayer.vue @@ -799,7 +799,7 @@ return } const newIndex = (++this.groundnetLayerGroup.maxId) - const circle = new L.ParkingSpot(event.latlng, {attributes: {index: newIndex, radius: 26, heading: 0}}) + const circle = new L.ParkingSpot(event.latlng, {attributes: {index: newIndex, radius: 26, heading: 0, type: 'gate'}}) circle.id = newIndex circle.glueindex = circle.id circle.addTo(this.groundnetLayerGroup)