Skip to content
Snippets Groups Projects
Commit d90c9ce8 authored by Jérémie BRISON's avatar Jérémie BRISON
Browse files

fix(map) : set maxZoom to prevent bug

parent a457cbba
Branches
Tags
2 merge requests!11Recette,!5Map poc
......@@ -121,6 +121,7 @@ export class MapComponent implements OnChanges {
// Zoom is blocked on 11 to prevent people to zoom out from metropole
this.mapOptions = {
center: latLng(45.764043, 4.835659),
maxZoom: 19,
zoom: 10,
minZoom: 10,
layers: [carteLayer, metroMaps],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment