User interface elements can be optionally shown
on top of the map
Methods
(static) setCameraModeControlVisible(value)
Show/hide the camera mode control
Parameters:
Name | Type | Description |
---|---|---|
value |
Boolean | pass true to show control, false to hide |
(static) setCompassVisible(value)
Show/hide the compass control
Parameters:
Name | Type | Description |
---|---|---|
value |
Boolean | pass true to show control, false to hide |
(static) setRotationControlVisible(value)
Show/hide the camera rotation control
Parameters:
Name | Type | Description |
---|---|---|
value |
Boolean | pass true to show control, false to hide |
(static) setUserLocationControlVisible(value)
Show/hide the user location control. If GPS location is
not available the control will not be shown.
Parameters:
Name | Type | Description |
---|---|---|
value |
Boolean | pass true to show control, false to hide |
(static) setZoomControlVisible(value)
Show/hide the camera zoom control
Parameters:
Name | Type | Description |
---|---|---|
value |
Boolean | pass true to show control, false to hide |