Parking defaul gate
This commit is contained in:
parent
50e3806d12
commit
b841b8560d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user