Skip to content

Instantly share code, notes, and snippets.

@rterp
Created February 15, 2017 02:05
Embed
What would you like to do?
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