Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -132,8 +132,8 @@ export default abstract class LeafletMap { |
132 | 132 | shadowSize: [41, 41] |
133 | 133 | }); |
134 | 134 | const customLatLng = this.convertToCustomFormat(mousePositionOnMap); |
135 | - mousePositionOnMap.lat = customLatLng[this.options.latKeyName]; | |
136 | - mousePositionOnMap.lng = customLatLng[this.options.lngKeyName]; | |
135 | + mousePositionOnMap.lat = customLatLng[this.options.latKeyName]; | |
136 | + mousePositionOnMap.lng = customLatLng[this.options.lngKeyName]; | |
137 | 137 | |
138 | 138 | const newMarker = L.marker(mousePositionOnMap, { icon }).addTo(this.map); |
139 | 139 | this.addMarkers.push(newMarker); | ... | ... |