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