GithubHelp home page GithubHelp logo

jiubadao / gmapsfx Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dlsc-software-consulting-gmbh/gmapsfx

0.0 2.0 0.0 1.43 MB

Java API for using Google Maps within a JavaFX application.

Home Page: http://rterp.github.io/GMapsFX/

License: Apache License 2.0

Java 82.87% CSS 0.22% JavaScript 12.58% HTML 4.32%

gmapsfx's Introduction

GMapsFX

Fixed! Attention: Known Issue, Garbled Text in GMapsFX on Mac OSX

Download

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 8

GMapsFX GUI

Quick Start

Build the framework
$ mvn install
Run the sample application
$ mvn 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.lynden.gmapsfx.javascript.object.LatLong object is created, the object's constructor will also create a corresponding LatLong object in the JavaScript environment.

Because of this it is important to note 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.] (http://rterp.github.io/GMapsFX/apidocs/)

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

gmapsfx's People

Contributors

geoffcapper avatar andredornas avatar acmi avatar kuax avatar masinger avatar sinadarvi avatar magomar avatar

Watchers

James Cloos avatar gopher avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.