Sfoglia il codice sorgente

💄 zoom map only with CTRL key

jmacura 3 anni fa
parent
commit
5767d657f2
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/app/map-chart/map.component.ts

+ 1 - 0
src/app/map-chart/map.component.ts

@@ -100,6 +100,7 @@ export class MapComponent implements OnInit {
           }),
         }),*/
       ],
+      zoomWithModifierKeyOnly: true,
     });
     /* Now wait for the OpenLayers Map object to load */
     this.hsEventBusService.olMapLoads.subscribe(() => {