2

Firstly, i'm sorry that i m newbiew at Geotools. And i need to tackle mouse events in Geotools. How can i get mouse coordination as a Lat and a Lon in geotools?

ibrahimyilmaz
  • 18,331
  • 13
  • 61
  • 80

1 Answers1

4

You'll want to use a MapMouseEvent (http://docs.geotools.org/latest/javadocs/org/geotools/swing/event/MapMouseEvent.html)

Ian Turton
  • 10,018
  • 1
  • 28
  • 47