Parking Box

This commit is contained in:
portree_kid
2020-07-03 12:49:03 +02:00
parent 87750d0826
commit 6de8d22381
3 changed files with 72 additions and 2 deletions
+3 -1
View File
@@ -420,6 +420,7 @@ You should have received a copy of the GNU General Public License along with FG
element.updateMiddleMarker();
element.updateVertexFromDirection();
element.updateWheelPos();
element.updateBox();
}
else if (element instanceof L.Polyline) {
element._latlngs.forEach((e1, index1) => {
@@ -627,7 +628,8 @@ You should have received a copy of the GNU General Public License along with FG
if (element instanceof L.ParkingSpot) {
element.options.attributes = Object.assign({}, this.$store.state.Editable.data.parking)
element.updateVertexFromDirection();
element.updateWheelPos();
element.updateWheelPos();
element.updateBox();
}
})
if (this.$store.state.Editable.data.parking.coords) {