Skip to content

Instantly share code, notes, and snippets.

@rterp
Last active March 2, 2017 17:11
Embed
What would you like to do?
GoogleMap map = googleMapView.createMap(mapOptions, false);
map.addMouseEventHandler(UIEventType.click, (GMapMouseEvent event) -> {
LatLong latLong = event.getLatLong();
System.out.println("Latitude: " + latLong.getLatitude());
System.out.println("Longitude: " + latLong.getLongitude());
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment