Skip to content

Instantly share code, notes, and snippets.

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