Variable VIEWER_DEFAULTSConst
VIEWER_DEFAULTS: {
canPan: true;
canRotate: false;
canTilt: false;
canZoom: true;
confine: false;
fullscreen: false;
legend: "bottom-left";
locate: false;
navigation: "top-right";
reset: false;
scale: "none";
scrollZoom: "protected";
search: "none";
zoomButtons: true;
} = ...
Type Declaration
-
ReadonlycanPan: true
-
ReadonlycanRotate: false
-
ReadonlycanTilt: false
-
ReadonlycanZoom: true
-
Readonlyconfine: false
-
Readonlyfullscreen: false
-
Readonlylegend: "bottom-left"
-
Readonlylocate: false
-
Readonlynavigation: "top-right"
-
Readonlyreset: false
-
Readonlyscale: "none"
-
-
Readonlysearch: "none"
-
What the viewer shows if the map does not say: no search, the zoom buttons at the top right, the legend at the bottom left, no scale bar, no other buttons; its viewers can move the map and zoom, but not rotate or tilt it, without limits (
minZoomandmaxZoomhave no default); an embedded map leaves the wheel to its page.