diff --git a/App/Ionic2/ocm-app/src/providers/mapping/providers/LeafletMap.ts b/App/Ionic2/ocm-app/src/providers/mapping/providers/LeafletMap.ts index 2c72933..26d79ac 100644 --- a/App/Ionic2/ocm-app/src/providers/mapping/providers/LeafletMap.ts +++ b/App/Ionic2/ocm-app/src/providers/mapping/providers/LeafletMap.ts @@ -268,7 +268,7 @@ export class LeafletMap implements IMapProvider { setMapZoom(zoomLevel: number) { if (this.mapReady) { - this.map.setZoom(zoomLevel); + this.map.setZoom(zoomLevel,{}); } } @@ -334,7 +334,7 @@ export class LeafletMap implements IMapProvider { this.map.fitBounds(new L.LatLngBounds( { lat: bounds.southWest.latitude, lng: bounds.southWest.longitude }, { lat: bounds.northEast.latitude, lng: bounds.northEast.longitude } - )); + ),{}); } focusMap() { //