To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
OpenLayers3 Getting mouse coordinates as a string?
6 years ago Dec 09, 2016 4:06pm
I can use this set of functions to show the Lat and Lon in the top right corner of the map. OLMousePositionControl mousePos = new OLMousePositionControl(); mousePos.projection = Projections.EPSG4326; map.setMousePositionControl(mousePos);