Commit 60de89015acf58d7efc9903d9713661c04f8afed

Authored by Kalutka Zhenya
1 parent a06c8354

Refactoring

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