Skip to content

Instantly share code, notes, and snippets.

@rterp
Created February 15, 2017 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rterp/85e96d1c41067920d0f12f5c30fe8a6a to your computer and use it in GitHub Desktop.
Save rterp/85e96d1c41067920d0f12f5c30fe8a6a to your computer and use it in GitHub Desktop.
map.addUIEventHandler(UIEventType.click, (JSObject obj) -> {
LatLong ll = new LatLong((JSObject) obj.getMember("latLng"));
System.out.println("LatLong: lat: " + ll.getLatitude() + " lng: " + ll.getLongitude());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment