This commit is contained in:
@@ -865,7 +865,7 @@ You should have received a copy of the GNU General Public License along with FG
|
||||
});
|
||||
}
|
||||
this.$store.dispatch('setParking', circle.options.attributes);
|
||||
this.$store.dispatch('setParkingCoords', circle.getLatLng().lat.toFixed(5) + ' ' + circle.getLatLng().lng.toFixed(5));
|
||||
this.$store.dispatch('setParkingCoords', circle.getLatLng().lat.toFixed(6) + ' ' + circle.getLatLng().lng.toFixed(6));
|
||||
circle.select()
|
||||
addFeature(circle)
|
||||
// console.log(this.groundnetLayerGroup)
|
||||
|
||||
@@ -230,9 +230,8 @@
|
||||
if (newValue==='unknown') {
|
||||
|
||||
}
|
||||
if( newValue.match(/,/g).length === 3) {
|
||||
if( newValue.match(/,/g) !== null && newValue.match(/,/g).length === 3) {
|
||||
newValue = newValue.replace(', ', ' ').replace(/,/g, '.').replace(' ', ', ');
|
||||
|
||||
}
|
||||
this.$store.commit('SET_EDIT_PARKING_COORDS', newValue)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user