java.lang.Object
com.dlsc.gmapsfx.javascript.JavascriptObject
com.dlsc.gmapsfx.javascript.object.MapOptions
public class MapOptions extends JavascriptObject
- Author:
- robt
- See Also:
- Google MapOptions API Documentation
-
Field Summary
Fields Modifier and Type Field Description protected LatLongcenterprotected booleanclickableIconsprotected booleandisableDefaultUIprotected booleandisableDoubleClickZoomprotected booleanfullscreenControlprotected booleankeyboardShortcutsprotected booleanmapMakerprotected MapTypeIdEnummapTypeprotected booleanmapTypeControlprotected doublemaxZoomprotected doubleminZoomprotected booleanoverviewMapControlprotected booleanpanControlprotected booleanrotateControlprotected booleanscaleControlprotected booleanscrollWheelprotected booleanstreetViewControlprotected doublezoomprotected booleanzoomControlFields inherited from class com.dlsc.gmapsfx.javascript.JavascriptObject
jsObject, objectCounter, peerRegistry, runtime, variableName -
Constructor Summary
Constructors Constructor Description MapOptions() -
Method Summary
Modifier and Type Method Description MapOptionscenter(LatLong center)MapOptionsclickableIcons(boolean clickableIcons)MapOptionsdisableDefaultUI(boolean disableDefaultUI)MapOptionsdisableDoubleClickZoom(boolean disableDoubleClickZoom)MapOptionsfullscreenControl(boolean fullscreenControl)Determines whether the fullscreen control is displayed on the map.MapOptionsgestureHandling(GestureHandlingType gestureHandling)Sets the gestureHandling option, used to control how Google Maps deals with touch screen devices.MapOptionskeyboardShortcuts(boolean keyboardShortcuts)MapOptionsmapMaker(boolean mapMaker)Use MapMaker tiles.MapOptionsmapMarker(boolean mapMarker)Deprecated.MapOptionsmapType(MapTypeIdEnum mapType)MapOptionsmapTypeControl(boolean mapTypeControl)MapOptionsmaxZoom(double maxZoom)MapOptionsminZoom(double minZoom)MapOptionsoverviewMapControl(boolean overviewMapControl)MapOptionspanControl(boolean panControl)MapOptionsrotateControl(boolean rotateControl)MapOptionsscaleControl(boolean scaleControl)MapOptionsscrollWheel(boolean scrollWheel)MapOptionsstreetViewControl(boolean streetViewControl)MapOptionsstyleString(String styleString)MapOptionszoom(double zoom)MapOptionszoomControl(boolean zoomControl)Methods inherited from class com.dlsc.gmapsfx.javascript.JavascriptObject
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setProperty
-
Field Details
-
center
-
mapType
-
mapMaker
protected boolean mapMaker -
overviewMapControl
protected boolean overviewMapControl -
panControl
protected boolean panControl -
rotateControl
protected boolean rotateControl -
scaleControl
protected boolean scaleControl -
streetViewControl
protected boolean streetViewControl -
zoom
protected double zoom -
maxZoom
protected double maxZoom -
minZoom
protected double minZoom -
zoomControl
protected boolean zoomControl -
mapTypeControl
protected boolean mapTypeControl -
scrollWheel
protected boolean scrollWheel -
fullscreenControl
protected boolean fullscreenControl -
clickableIcons
protected boolean clickableIcons -
disableDefaultUI
protected boolean disableDefaultUI -
disableDoubleClickZoom
protected boolean disableDoubleClickZoom -
keyboardShortcuts
protected boolean keyboardShortcuts
-
-
Constructor Details
-
MapOptions
public MapOptions()
-
-
Method Details
-
center
-
fullscreenControl
Determines whether the fullscreen control is displayed on the map.- Parameters:
fullscreenControl-- Returns:
-
mapMarker
Deprecated.This is a mistyping of MapMaker which is the option to use MapMaker tiles.- Parameters:
mapMarker-- Returns:
-
mapMaker
Use MapMaker tiles.- Parameters:
mapMaker-- Returns:
-
mapType
-
overviewMapControl
-
panControl
-
rotateControl
-
scaleControl
-
streetViewControl
-
zoom
-
maxZoom
-
minZoom
-
zoomControl
-
mapTypeControl
-
scrollWheel
-
clickableIcons
-
disableDefaultUI
-
disableDoubleClickZoom
-
keyboardShortcuts
-
styleString
- Parameters:
styleString- the styleString to set. This parameter is assigned by calling eval() and should be of the format: "[{'featureType':'landscape','stylers':[{'saturation':-100}, ...etc..."- Returns:
-
gestureHandling
Sets the gestureHandling option, used to control how Google Maps deals with touch screen devices. We offer no warranty as to whether this actually works given that any touch events are being passed through JavaFX WebView to the map, and vital information may be lost in transmission/translation.- Parameters:
gestureHandling-- Returns:
-