public class MapOptions extends JavascriptObject
| Modifier and Type | Field and Description |
|---|---|
protected LatLong |
center |
protected boolean |
mapMaker |
protected MapTypeIdEnum |
mapType |
protected boolean |
mapTypeControl |
protected double |
maxZoom |
protected double |
minZoom |
protected boolean |
overviewMapControl |
protected boolean |
panControl |
protected boolean |
rotateControl |
protected boolean |
scaleControl |
protected boolean |
scrollWheel |
protected boolean |
streetViewControl |
protected double |
zoom |
protected boolean |
zoomControl |
jsObject, objectCounter, peerRegistry, runtime, variableName| Constructor and Description |
|---|
MapOptions() |
| Modifier and Type | Method and Description |
|---|---|
MapOptions |
center(LatLong center) |
MapOptions |
mapMaker(boolean mapMaker)
Use MapMaker tiles.
|
MapOptions |
mapMarker(boolean mapMarker)
Deprecated.
|
MapOptions |
mapType(MapTypeIdEnum mapType) |
MapOptions |
mapTypeControl(boolean mapTypeControl) |
MapOptions |
maxZoom(double maxZoom) |
MapOptions |
minZoom(double minZoom) |
MapOptions |
overviewMapControl(boolean overviewMapControl) |
MapOptions |
panControl(boolean panControl) |
MapOptions |
rotateControl(boolean rotateControl) |
MapOptions |
scaleControl(boolean scaleControl) |
MapOptions |
scrollWheel(boolean scrollWheel) |
MapOptions |
streetViewControl(boolean streetViewControl) |
MapOptions |
styleString(String styleString) |
MapOptions |
zoom(double zoom) |
MapOptions |
zoomControl(boolean zoomControl) |
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setPropertyprotected LatLong center
protected MapTypeIdEnum mapType
protected boolean mapMaker
protected boolean overviewMapControl
protected boolean panControl
protected boolean rotateControl
protected boolean scaleControl
protected boolean streetViewControl
protected double zoom
protected double maxZoom
protected double minZoom
protected boolean zoomControl
protected boolean mapTypeControl
protected boolean scrollWheel
public MapOptions center(LatLong center)
@Deprecated public MapOptions mapMarker(boolean mapMarker)
mapMarker - public MapOptions mapMaker(boolean mapMaker)
mapMaker - public MapOptions mapType(MapTypeIdEnum mapType)
public MapOptions overviewMapControl(boolean overviewMapControl)
public MapOptions panControl(boolean panControl)
public MapOptions rotateControl(boolean rotateControl)
public MapOptions scaleControl(boolean scaleControl)
public MapOptions streetViewControl(boolean streetViewControl)
public MapOptions zoom(double zoom)
public MapOptions maxZoom(double maxZoom)
public MapOptions minZoom(double minZoom)
public MapOptions zoomControl(boolean zoomControl)
public MapOptions mapTypeControl(boolean mapTypeControl)
public MapOptions scrollWheel(boolean scrollWheel)
public MapOptions styleString(String styleString)
styleString - the styleString to set. This parameter is assigned by
calling eval() and should be of the format: "[{'featureType':'landscape','stylers':[{'saturation':-100}, ...etc..."Copyright © 2017. All rights reserved.