Skip to content

Commit

Permalink
Leaflet fix
Browse files Browse the repository at this point in the history
  • Loading branch information
webprofusion-chrisc committed Oct 18, 2016
1 parent 281987b commit e575fd9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ export class LeafletMap implements IMapProvider {

setMapZoom(zoomLevel: number) {
if (this.mapReady) {
this.map.setZoom(zoomLevel);
this.map.setZoom(zoomLevel,{});
}

}
Expand Down Expand Up @@ -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() {
//
Expand Down

0 comments on commit e575fd9

Please sign in to comment.