From 5b214a07b47b16c49a7cb6d5f63ed4b4ca8e8627 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Thu, 22 Aug 2024 18:50:32 +0200 Subject: [PATCH] Prepare for GMap changes Controls will change in v3.60 (Feb 2025) --- apps/fxc-front/src/app/components/2d/map-element.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/fxc-front/src/app/components/2d/map-element.ts b/apps/fxc-front/src/app/components/2d/map-element.ts index e099a601..69cd8b9d 100644 --- a/apps/fxc-front/src/app/components/2d/map-element.ts +++ b/apps/fxc-front/src/app/components/2d/map-element.ts @@ -156,8 +156,9 @@ export class MapElement extends connect(store)(LitElement) { maxZoom: GMAP_MAX_ZOOM_LEVEL, mapTypeId: google.maps.MapTypeId.TERRAIN, scaleControl: true, - fullscreenControl: false, - streetViewControl: false, + disableDefaultUI: true, + zoomControl: true, + mapTypeControl: true, clickableIcons: false, mapTypeControlOptions: { mapTypeIds: [