Movatterモバイル変換


[0]ホーム

URL:


LogoLogo
Ctrlk
Sign upHelp Center
Powered by GitBook
On this page

UiControlsOptions


Properties

showLegend?

optionalshowLegend:boolean

Whether or not the legend is shown.

Default Value

true

cooperativeGestures?

optionalcooperativeGestures:boolean

When co-operative gestures are enabled, the pan and zoom gestures areadjusted to work better when the map is embedded in another page.

Remarks

On mobile devices, enabling co-operative gestures will allow the user topan past the embedded map with a single finger drag. To pan the map, theymust use two fingers.

On desktop devices, enabling co-operative gestures allows the user toscroll past the embedded map using their scroll wheel or trackpad. Tozoom the map, they must hold the Ctrl (Windows) or Command key (Mac) whilescrolling.

Default Value


fullScreenButton?

optionalfullScreenButton:boolean

Whether or not the full screen button is shown in an embedded map.

Remarks

When clicked, this will open the map in a new tab or window.

Default Value


geolocation?

optionalgeolocation:boolean

Whether or not the geolocation button is shown in an embedded map.

Remarks

The geolocation feature will plot your position on the map. If youclick the button again, it will start tracking your position.

Default Value


zoomControls?

optionalzoomControls:boolean

Whether or not the zoom controls are shown in an embedded map.

Remarks

This does not affect whether or not the map can be zoomed, justthe display of the zoom controls in the bottom right corner of the map.

Default Value


scaleBar?

optionalscaleBar:boolean

Whether or not the scale bar is shown in an embedded map.

Default Value

Last updated

Was this helpful?


[8]ページ先頭

©2009-2025 Movatter.jp