From d90c9ce885b97e31dc3d59dc95322639541385f6 Mon Sep 17 00:00:00 2001
From: Jeremie BRISON <ext.sopra.jbrison@grandlyon.com>
Date: Wed, 21 Oct 2020 14:37:00 +0200
Subject: [PATCH] fix(map) : set maxZoom to prevent bug

---
 src/app/map/components/map.component.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/app/map/components/map.component.ts b/src/app/map/components/map.component.ts
index e30ec0504..f63314cb9 100644
--- a/src/app/map/components/map.component.ts
+++ b/src/app/map/components/map.component.ts
@@ -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],
-- 
GitLab