MCPcopy Index your code
hub / github.com/dlsc-software-consulting-gmbh/GMapsFX

github.com/dlsc-software-consulting-gmbh/GMapsFX @v11.0.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v11.0.7 ↗ · + Follow
652 symbols 1,845 edges 110 files 226 documented · 35%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GMapsFX

A pure JavaFX API which allows you to add Google Maps to your JavaFX application without the need to interact with the underlying Google Maps JavaScript API.

GMapsFX requires Java 11 and JavaFX 17.

GMapsFX GUI

Quick Start

Build the framework

cd GMapsFX
./mvnw install

Run the sample application

./mvnw exec:java

Development Notes

The GMapsFX framework creates underyling JavaScript peer objects when their corresponding Java objects are instantiated. For example when a new com.dlsc.gmapsfx.javascript.object.LatLong object is created, the object's constructor will also create a corresponding LatLong object in the JavaScript environment.

This means that you cannot instantiate JavaScript objects until the JavaScript engine has been fully initialized. The JavaScript engine is intialized asynchronously when a new GoogleMapView component is created. You can register a MapComponentInitializedListener to be notified when the map and JavaScript environment has been fully initialized.

You can take a look at a small example code snippet here.

The latest Javadocs can be found here.

Authors

License

Apache License, Version 2.0 (current) http://www.apache.org/licenses/LICENSE-2.0

Also, please be aware, in order to use this library, you must also accept the Google Terms of Service. https://developers.google.com/maps/faq#understanding-terms-of-service

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 540
Class 81
Enum 14
Interface 14
Function 3

Languages

Java100%
TypeScript1%

Modules by API surface

GMapsFX/src/main/java/com/dlsc/gmapsfx/javascript/object/GoogleMap.java36 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/GoogleMapView.java35 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/javascript/object/MapOptions.java24 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/javascript/object/DirectionsPane.java24 symbols
GMapsFX/src/test/java/com/dlsc/gmapsfx/javascript/JavascriptObjectTest.java20 symbols
GMapsFX/src/test/java/com/dlsc/gmapsfx/javascript/JavascriptRuntimeTest.java13 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/javascript/JavascriptObject.java13 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/javascript/JavascriptArray.java13 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/shapes/MapShapeOptions.java12 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/javascript/object/MarkerClusterer.java12 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/javascript/object/MVCArray.java12 symbols
GMapsFX/src/main/java/com/dlsc/gmapsfx/javascript/object/InfoWindow.java11 symbols

For agents

$ claude mcp add GMapsFX \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page