Top Fields Constructors Methods
com.dlsc.gmapsfx.javascript.object

public Class MapOptions

extends JavascriptObject
Class Inheritance
Imports
com.dlsc.gmapsfx.javascript.JavascriptObject

Author
robt
See Also
Google MapOptions API Documentation

Field Summary

Modifier and TypeField and Description
protected LatLong
protected boolean
protected boolean
protected boolean
protected boolean
private GestureHandlingType
protected boolean
protected boolean
protected MapTypeIdEnum
protected boolean
protected double
protected double
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
private String
protected double
protected boolean
Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
jsObjectobjectCounterpeerRegistryruntimevariableName

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public MapOptions
center(LatLong center)

public MapOptions
clickableIcons(boolean clickableIcons)

public MapOptions
disableDefaultUI(boolean disableDefaultUI)

public MapOptions
disableDoubleClickZoom(boolean disableDoubleClickZoom)

public MapOptions
fullscreenControl(boolean fullscreenControl)

Determines whether the fullscreen control is displayed on the map.

public MapOptions
gestureHandling(GestureHandlingType gestureHandling)

Sets the gestureHandling option, used to control how Google Maps deals with touch screen devices.

public MapOptions
keyboardShortcuts(boolean keyboardShortcuts)

public MapOptions
mapMaker(boolean mapMaker)

Use MapMaker tiles.

public MapOptions
mapMarker(boolean mapMarker)
Deprecated

This is a mistyping of MapMaker which is the option to use MapMaker tiles.

public MapOptions
public MapOptions
mapTypeControl(boolean mapTypeControl)

public MapOptions
maxZoom(double maxZoom)

public MapOptions
minZoom(double minZoom)

public MapOptions
overviewMapControl(boolean overviewMapControl)

public MapOptions
panControl(boolean panControl)

public MapOptions
rotateControl(boolean rotateControl)

public MapOptions
scaleControl(boolean scaleControl)

public MapOptions
scrollWheel(boolean scrollWheel)

public MapOptions
streetViewControl(boolean streetViewControl)

public MapOptions
styleString(String
the styleString to set. This parameter is assigned by calling eval() and should be of the format: "[{'featureType':'landscape','stylers':[{'saturation':-100}, ...etc..."
styleString
)

public MapOptions
zoom(double zoom)

public MapOptions
zoomControl(boolean zoomControl)

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
checkBooleancheckIntegercheckUndefinedgetJSObjectgetNextVariableNamegetPropertygetPropertygetVariableNameinvokeJavascriptinvokeJavascriptinvokeJavascriptReturnValueinvokeJavascriptReturnValueisMemberDefinedsetPropertysetPropertysetProperty

Field Detail

centerback to summary
protected LatLong center
clickableIconsback to summary
protected boolean clickableIcons
disableDefaultUIback to summary
protected boolean disableDefaultUI
disableDoubleClickZoomback to summary
protected boolean disableDoubleClickZoom
fullscreenControlback to summary
protected boolean fullscreenControl
gestureHandlingback to summary
private GestureHandlingType gestureHandling
keyboardShortcutsback to summary
protected boolean keyboardShortcuts
mapMakerback to summary
protected boolean mapMaker
mapTypeback to summary
protected MapTypeIdEnum mapType
mapTypeControlback to summary
protected boolean mapTypeControl
maxZoomback to summary
protected double maxZoom
minZoomback to summary
protected double minZoom
overviewMapControlback to summary
protected boolean overviewMapControl
panControlback to summary
protected boolean panControl
rotateControlback to summary
protected boolean rotateControl
scaleControlback to summary
protected boolean scaleControl
scrollWheelback to summary
protected boolean scrollWheel
streetViewControlback to summary
protected boolean streetViewControl
styleStringback to summary
private String styleString
zoomback to summary
protected double zoom
zoomControlback to summary
protected boolean zoomControl

Constructor Detail

MapOptionsback to summary
public MapOptions()

Method Detail

centerback to summary
public MapOptions center(LatLong center)
clickableIconsback to summary
public MapOptions clickableIcons(boolean clickableIcons)
disableDefaultUIback to summary
public MapOptions disableDefaultUI(boolean disableDefaultUI)
disableDoubleClickZoomback to summary
public MapOptions disableDoubleClickZoom(boolean disableDoubleClickZoom)
fullscreenControlback to summary
public MapOptions fullscreenControl(boolean fullscreenControl)

Determines whether the fullscreen control is displayed on the map.

gestureHandlingback to summary
public MapOptions gestureHandling(GestureHandlingType 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.

See Google Maps API - Controlling Zoom and Pan

keyboardShortcutsback to summary
public MapOptions keyboardShortcuts(boolean keyboardShortcuts)
mapMakerback to summary
public MapOptions mapMaker(boolean mapMaker)

Use MapMaker tiles.

mapMarkerback to summary
public MapOptions mapMarker(boolean mapMarker)

Deprecated

This is a mistyping of MapMaker which is the option to use MapMaker tiles.

Annotations
@Deprecated
mapTypeback to summary
public MapOptions mapType(MapTypeIdEnum mapType)
mapTypeControlback to summary
public MapOptions mapTypeControl(boolean mapTypeControl)
maxZoomback to summary
public MapOptions maxZoom(double maxZoom)
minZoomback to summary
public MapOptions minZoom(double minZoom)
overviewMapControlback to summary
public MapOptions overviewMapControl(boolean overviewMapControl)
panControlback to summary
public MapOptions panControl(boolean panControl)
rotateControlback to summary
public MapOptions rotateControl(boolean rotateControl)
scaleControlback to summary
public MapOptions scaleControl(boolean scaleControl)
scrollWheelback to summary
public MapOptions scrollWheel(boolean scrollWheel)
streetViewControlback to summary
public MapOptions streetViewControl(boolean streetViewControl)
styleStringback to summary
public MapOptions styleString(String styleString)
Parameters
styleString:String

the styleString to set. This parameter is assigned by calling eval() and should be of the format: "[{'featureType':'landscape','stylers':[{'saturation':-100}, ...etc..."

zoomback to summary
public MapOptions zoom(double zoom)
zoomControlback to summary
public MapOptions zoomControl(boolean zoomControl)