geolocation-8.x-3.x-dev/modules/geolocation_google_maps/js/MapFeature/GoogleMapDisableUserInteraction.js
modules/geolocation_google_maps/js/MapFeature/GoogleMapDisableUserInteraction.js
import { GoogleMapFeature } from "./GoogleMapFeature.js";
/**
* @prop {GeolocationMapFeatureSettings} settings
* @prop {GoogleMaps} map
*/
export default class GoogleMapDisablePOI extends GoogleMapFeature {
constructor(settings, map) {
super(settings, map);
this.map.googleMap.setOptions({
gestureHandling: "none",
zoomControl: false,
});
}
}
