| Modifier and Type | Field and Description |
|---|---|
| private ReadOnlyObjectWrapper | |
| protected static String | |
| private final EventHandlers | |
| private boolean | |
| protected MapOptions | |
| private boolean | |
| private boolean | |
| private IntegerProperty |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addStateEventHandler(MapStateEventType
Type of the event to register against. type, StateEventHandler Handler that will be called when the event occurs. h)Adds a handler for a state type event on the map. |
| public void | addUIEventHandler(UIEventType
Type of the event to register against. type, UIEventHandler Handler that will be called when the event occurs. h)Adds a handler for a mouse type event on the map. |
| public void | addUIEventHandler(JavascriptObject
The object that the event should be registered on. obj, UIEventType Type of the event to register against. type, UIEventHandler Handler that will be called when the event occurs. h)Adds a handler for a mouse type event on the map. |
| public final ReadOnlyObjectProperty | |
| public void | |
| public Point2D | |
| public LatLongBounds | |
| public LatLong | |
| public double | |
| public LatLong | |
| public Projection | |
| public int | |
| private int | |
| private void | |
| public void | panBy(double
delta x value in pixels. x, double delta y value in pixels. y)Pans the map by the supplied values. |
| private String | Returns: Callback key that Javascript will use to find this handler.Event handler to be registered. h)Registers an event handler in the repository shared between Javascript and Java. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public IntegerProperty |
| center | back to summary |
|---|---|
| private ReadOnlyObjectWrapper<LatLong> center | |
| divArg | back to summary |
|---|---|
| protected static String divArg | |
| jsHandlers | back to summary |
|---|---|
| private final EventHandlers jsHandlers | |
| mapPromptedZoomChange | back to summary |
|---|---|
| private boolean mapPromptedZoomChange | |
| options | back to summary |
|---|---|
| protected MapOptions options | |
| registeredOnJS | back to summary |
|---|---|
| private boolean registeredOnJS | |
| userPromptedZoomChange | back to summary |
|---|---|
| private boolean userPromptedZoomChange | |
| zoom | back to summary |
|---|---|
| private IntegerProperty zoom | |
| DirectionsPane | back to summary |
|---|---|
| public DirectionsPane() | |
| DirectionsPane | back to summary |
|---|---|
| public DirectionsPane(MapOptions mapOptions) | |
| addStateEventHandler | back to summary |
|---|---|
| public void addStateEventHandler(MapStateEventType type, StateEventHandler h) Adds a handler for a state type event on the map. We could allow this to handle any state event by adding a parameter JavascriptObject obj, but we would then need to loosen up the event type and either accept a String value, or fill an enum with all potential state events.
| |
| addUIEventHandler | back to summary |
|---|---|
| public void addUIEventHandler(UIEventType type, UIEventHandler h) Adds a handler for a mouse type event on the map.
| |
| addUIEventHandler | back to summary |
|---|---|
| public void addUIEventHandler(JavascriptObject obj, UIEventType type, UIEventHandler h) Adds a handler for a mouse type event on the map.
| |
| centerProperty | back to summary |
|---|---|
| public final ReadOnlyObjectProperty | |
| fitBounds | back to summary |
|---|---|
| public void fitBounds(LatLongBounds bounds) | |
| fromLatLngToPoint | back to summary |
|---|---|
| public Point2D fromLatLngToPoint(LatLong loc) Returns the screen point for the provided LatLong. Note Unexpected results can be obtained if this method is called as a result of a zoom change, as the zoom event is fired before the bounds are updated, and bounds need to be used to obtain the answer! One workaround is to only operate off bounds_changed events. | |
| getBounds | back to summary |
|---|---|
| public LatLongBounds getBounds() Returns the LatLongBounds of the visual area. Note on zoom changes the bounds are reset after the zoom event is fired, which can cause unexpected results. | |
| getCenter | back to summary |
|---|---|
| public LatLong getCenter() | |
| getHeading | back to summary |
|---|---|
| public double getHeading() | |
| getLatLong | back to summary |
|---|---|
| public LatLong getLatLong() | |
| getProjection | back to summary |
|---|---|
| public Projection getProjection() | |
| getZoom | back to summary |
|---|---|
| public int getZoom() | |
| internalGetZoom | back to summary |
|---|---|
| private int internalGetZoom() | |
| internalSetZoom | back to summary |
|---|---|
| private void internalSetZoom(int zoom) | |
| panBy | back to summary |
|---|---|
| public void panBy(double x, double y) Pans the map by the supplied values.
| |
| registerEventHandler | back to summary |
|---|---|
| private String registerEventHandler(GFXEventHandler h) Registers an event handler in the repository shared between Javascript and Java.
| |
| removeMapShape | back to summary |
|---|---|
| public void removeMapShape(MapShape shape) | |
| removeMarker | back to summary |
|---|---|
| public void removeMarker(Marker marker) | |
| setCenter | back to summary |
|---|---|
| public void setCenter(LatLong latLong) | |
| setHeading | back to summary |
|---|---|
| public void setHeading(double heading) | |
| setMapType | back to summary |
|---|---|
| public void setMapType(MapTypeIdEnum type) | |
| setZoom | back to summary |
|---|---|
| public void setZoom(int zoom) | |
| zoomProperty | back to summary |
|---|---|
| public IntegerProperty zoomProperty() | |