public class MapOptions
extends org.fujion.ancillary.Options
| Modifier and Type | Field and Description |
|---|---|
String |
backgroundColor
Color used for the background of the Map div.
|
LatLng |
center
The initial Map center.
|
Boolean |
clickableIcons
When false, map icons are not clickable.
|
Boolean |
disableDefaultUI
Enables/disables all default UI.
|
Boolean |
disableDoubleClickZoom
Enables/disables zoom and center on double click.
|
String |
draggableCursor
The name or url of the cursor to display when mousing over a draggable map.
|
String |
draggingCursor
The name or url of the cursor to display when the map is being dragged.
|
Boolean |
fullscreenControl
The enabled/disabled state of the Fullscreen control.
|
FullscreenControlOptions |
fullscreenControlOptions
Options for Fullscreen control.
|
GestureHandlingType |
gestureHandling
Controls how the API handles gestures on the map.
|
Double |
heading
The heading for aerial imagery in degrees measured clockwise from cardinal direction North.
|
Boolean |
keyboardShortcuts
If false, prevents the map from being controlled by the keyboard.
|
Boolean |
mapTypeControl
The initial enabled/disabled state of the Map type control.
|
MapTypeControlOptions |
mapTypeControlOptions
Map type control options.
|
MapTypeId |
mapTypeId$enum
The initial Map mapTypeId as an enum.
|
String |
mapTypeId$string
The initial Map mapTypeId as a string.
|
Integer |
maxZoom
The maximum zoom level which will be displayed on the map.
|
Integer |
minZoom
The minimum zoom level which will be displayed on the map.
|
Boolean |
noClear
If true, do not clear the contents of the Map div.
|
Boolean |
rotateControl
The enabled/disabled state of the Rotate control.
|
RotateControlOptions |
rotateControlOptions
The display options for the Rotate control.
|
Boolean |
scaleControl
The initial enabled/disabled state of the Scale control.
|
ScaleControlOptions |
scaleControlOptions
The initial display options for the Scale control.
|
Boolean |
scrollWheel
If false, disables zooming on the map using a mouse scroll wheel.
|
Boolean |
streetViewControl
The initial enabled/disabled state of the Street View Pegman control.
|
StreetViewControlOptions |
streetViewControlOptions
The initial display options for the Street View Pegman control.
|
StreetViewPanoramaOptions |
streetViewOptions
Options to create a StreetViewPanorama to display when the Street View pegman is dropped on
the map.
|
MapTypeStyleOptions |
styles
Styles to apply to each of the default map types.
|
TiltAngle |
tilt
Controls the automatic switching behavior for the angle of incidence of the map.
|
int |
zoom
The initial Map zoom level.
|
Boolean |
zoomControl
The enabled/disabled state of the Zoom control.
|
ZoomControlOptions |
zoomControlOptions
The display options for the Zoom control.
|
| Constructor and Description |
|---|
MapOptions() |
@Option public String backgroundColor
@Option public LatLng center
@Option public Boolean clickableIcons
Default: true
@Option public Boolean disableDefaultUI
@Option public Boolean disableDoubleClickZoom
Default: false
@Option public String draggableCursor
@Option public String draggingCursor
@Option public Boolean fullscreenControl
@Option public FullscreenControlOptions fullscreenControlOptions
@Option public GestureHandlingType gestureHandling
Default: AUTO
@Option public Double heading
@Option public Boolean keyboardShortcuts
Default: true
@Option public Boolean mapTypeControl
@Option public final MapTypeControlOptions mapTypeControlOptions
@Option(value="mapTypeId") public MapTypeId mapTypeId$enum
Default: ROADMAP
@Option(value="mapTypeId") public String mapTypeId$string
@Option public Integer maxZoom
@Option public Integer minZoom
@Option public Boolean noClear
@Option public Boolean rotateControl
@Option public final RotateControlOptions rotateControlOptions
@Option public Boolean scaleControl
@Option public final ScaleControlOptions scaleControlOptions
@Option public Boolean scrollWheel
Default: true
@Option public final StreetViewPanoramaOptions streetViewOptions
@Option public Boolean streetViewControl
@Option public final StreetViewControlOptions streetViewControlOptions
@Option public final MapTypeStyleOptions styles
@Option public TiltAngle tilt
@Option public int zoom
Default: 8
@Option public Boolean zoomControl
@Option public final ZoomControlOptions zoomControlOptions
Copyright © 2023 Fujion Framework. All rights reserved.