Parking defaul gate

This commit is contained in:
portree_kid 2020-06-21 22:55:25 +02:00
parent 50e3806d12
commit b841b8560d

View File

@ -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)