| Modifier and Type | Class and Description |
|---|---|
| public class | |
| public class |
| Modifier and Type | Field and Description |
|---|---|
| protected final CyclicBarrier | |
| protected DirectionsPane | |
| protected boolean | |
| protected static final String | |
| protected static final String | |
| protected boolean | |
| protected String | |
| protected final String | |
| private static final Logger | |
| protected GoogleMap | |
| protected final List | |
| protected final List | |
| protected final String | |
| private boolean | |
| protected JavaFxWebEngine | |
| protected WebView |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | GoogleMapView(String mapResourcePath)
Allows for the creation of the map using external resources from another jar for the html page and markers. |
| public | GoogleMapView(String mapResourcePath, boolean
true if the FireBug pane should be displayed in the WebView. debug)Creates a new map view and specifies if the FireBug pane should be displayed in the WebView |
| public | GoogleMapView(String
map display language, null for default language, String Google Maps API key or null key)Creates a new map view and specifies the display language and API key. |
| public | GoogleMapView(String mapResourcePath, String
map display language, null for default language, String Google Maps API key or null key, boolean true if the FireBug pane should be displayed in the WebView. debug)Creates a new map view and specifies the display language and API key. |
| public | GoogleMapView(String mapResourcePath, String
map display language, null for default language, String region, String Google Maps API key or null key, boolean true if the FireBug pane should be displayed in the WebView. debug)Creates a new map view and specifies the display language and API key. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| protected void | |
| public GoogleMap | |
| public GoogleMap | |
| public GoogleMap | |
| public GoogleMap | |
| protected JSObject | executeJavascript(String function)
References Deprecated
JSObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| protected void | |
| protected void | |
| public Point2D | |
| public DirectionsPane | |
| protected String | |
| protected String | |
| public GoogleMap | |
| public WebView | |
| private void | |
| protected GoogleMap | |
| protected GoogleMap | |
| public boolean | |
| private void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| private void | |
| protected void | |
| public void | |
| public void |
| barrier | back to summary |
|---|---|
| protected final CyclicBarrier barrier | |
| direc | back to summary |
|---|---|
| protected DirectionsPane direc | |
| disableDoubleClick | back to summary |
|---|---|
| protected boolean disableDoubleClick | |
| GOOGLE_MAPS_API_LINK | back to summary |
|---|---|
| protected static final String GOOGLE_MAPS_API_LINK | |
| GOOGLE_MAPS_API_VERSION | back to summary |
|---|---|
| protected static final String GOOGLE_MAPS_API_VERSION | |
| initialized | back to summary |
|---|---|
| protected boolean initialized | |
| key | back to summary |
|---|---|
| protected String key | |
| language | back to summary |
|---|---|
| protected final String language | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| map | back to summary |
|---|---|
| protected GoogleMap map | |
| mapInitializedListeners | back to summary |
|---|---|
| protected final List<MapComponentInitializedListener> mapInitializedListeners | |
| mapReadyListeners | back to summary |
|---|---|
| protected final List<MapReadyListener> mapReadyListeners | |
| region | back to summary |
|---|---|
| protected final String region | |
| usingCustomHtml | back to summary |
|---|---|
| private boolean usingCustomHtml | |
| webengine | back to summary |
|---|---|
| protected JavaFxWebEngine webengine | |
| webview | back to summary |
|---|---|
| protected WebView webview | |
| GoogleMapView | back to summary |
|---|---|
| public GoogleMapView() | |
| GoogleMapView | back to summary |
|---|---|
| public GoogleMapView(boolean debug) | |
| GoogleMapView | back to summary |
|---|---|
| public GoogleMapView(String mapResourcePath) Allows for the creation of the map using external resources from another jar for the html page and markers. The map html page must be sourced from the jar containing any marker images for those to function.
The html page is, at it's simplest: null If you store this file in your project jar, under my.gmapsfx.project.resources as mymap.html then you should call using "/my/gmapsfx/project/resources/mymap.html" for the mapResourcePath.
Your marker images should be stored in the same folder as, or below the
map file. You then reference them using relative notation. If you put
them in a subpackage "markers" you would create your MarkerOptions object
as follows: null | |
| GoogleMapView | back to summary |
|---|---|
| public GoogleMapView(String mapResourcePath, boolean debug) Creates a new map view and specifies if the FireBug pane should be displayed in the WebView
| |
| GoogleMapView | back to summary |
|---|---|
| public GoogleMapView(String language, String key) Creates a new map view and specifies the display language and API key. | |
| GoogleMapView | back to summary |
|---|---|
| public GoogleMapView(String mapResourcePath, String language, String key, boolean debug) Creates a new map view and specifies the display language and API key. | |
| GoogleMapView | back to summary |
|---|---|
| public GoogleMapView(String mapResourcePath, String language, String region, String key, boolean debug) Creates a new map view and specifies the display language and API key. If you are specifying your own HTML page for mapResourcePath in a jar of your own then you should include a script element to pull in the Google Maps API with any API keys, language and region parameters. | |
| addMapInitializedListener | back to summary |
|---|---|
| public void addMapInitializedListener(MapComponentInitializedListener listener) | |
| addMapReadyListener | back to summary |
|---|---|
| public void addMapReadyListener(MapReadyListener listener) | |
| checkInitialized | back to summary |
|---|---|
| protected void checkInitialized() | |
| createMap | back to summary |
|---|---|
| public GoogleMap createMap(MapOptions mapOptions) | |
| createMap | back to summary |
|---|---|
| public GoogleMap createMap() | |
| createMap | back to summary |
|---|---|
| public GoogleMap createMap(boolean withDirectionsPanel) | |
| createMap | back to summary |
|---|---|
| public GoogleMap createMap(MapOptions mapOptions, boolean withDirectionsPanel) | |
| executeJavascript | back to summary |
|---|---|
| protected JSObject executeJavascript(String function)
References Deprecated
See corresponding docs for further information. | |
| fireMapInitializedListeners | back to summary |
|---|---|
| protected void fireMapInitializedListeners() | |
| fireMapReadyListeners | back to summary |
|---|---|
| protected void fireMapReadyListeners() | |
| fromLatLngToPoint | back to summary |
|---|---|
| public Point2D fromLatLngToPoint(LatLong loc) | |
| getDirec | back to summary |
|---|---|
| public DirectionsPane getDirec() | |
| getHtmlFile | back to summary |
|---|---|
| protected String getHtmlFile(boolean debug) | |
| getJavascriptMethod | back to summary |
|---|---|
| protected String getJavascriptMethod(String methodName, Object... args) | |
| getMap | back to summary |
|---|---|
| public GoogleMap getMap() | |
| getWebview | back to summary |
|---|---|
| public WebView getWebview() | |
| initialiseScript | back to summary |
|---|---|
| private void initialiseScript() | |
| internal_createMap | back to summary |
|---|---|
| protected GoogleMap internal_createMap() | |
| internal_createMap | back to summary |
|---|---|
| protected GoogleMap internal_createMap(MapOptions mapOptions) | |
| isDisableDoubleClick | back to summary |
|---|---|
| public boolean isDisableDoubleClick() | |
| mapResized | back to summary |
|---|---|
| private void mapResized() | |
| panBy | back to summary |
|---|---|
| public void panBy(double x, double y) | |
| removeMapInitializedListener | back to summary |
|---|---|
| public void removeMapInitializedListener(MapComponentInitializedListener listener) | |
| removeReadyListener | back to summary |
|---|---|
| public void removeReadyListener(MapReadyListener listener) | |
| setCenter | back to summary |
|---|---|
| public void setCenter(double latitude, double longitude) | |
| setDisableDoubleClick | back to summary |
|---|---|
| public void setDisableDoubleClick(boolean disableDoubleClick) | |
| setFont | back to summary |
|---|---|
| private void setFont(WebEngine webEngine) | |
| setInitialized | back to summary |
|---|---|
| protected void setInitialized(boolean initialized) | |
| setKey | back to summary |
|---|---|
| public void setKey(String key) | |
| setZoom | back to summary |
|---|---|
| public void setZoom(int zoom) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| MapLibraryLoadBridge | back to summary |
|---|---|
| public MapLibraryLoadBridge() | |
| mapLibraryLoaded | back to summary |
|---|---|
| public void mapLibraryLoaded() | |
| Modifier and Type | Field and Description |
|---|---|
| private final EventDispatcher |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Event | dispatchEvent(Event
the event do dispatch event, EventDispatchChain the rest of the chain to dispatch event to tail)Implements javafx. Dispatches the specified event by this |
| originalDispatcher | back to summary |
|---|---|
| private final EventDispatcher originalDispatcher | |
| MyEventDispatcher | back to summary |
|---|---|
| public MyEventDispatcher(EventDispatcher originalDispatcher) | |
| dispatchEvent | back to summary |
|---|---|
| public Event dispatchEvent(Event event, EventDispatchChain tail) Implements javafx. Doc from javafx. Dispatches the specified event by this
| |