1 (edited by ag82lus 2023-12-14 12:55:43)

Topic: Mouse Hover On Map to get Lat and Lon

Hi,

Just like on Mouse Click i can get the lat and lon like this  ==>  map.control.GetCoords(out lon, out lat) on OnMapClick();
i was wondering is there any functionality where i can the get the lat and lon when the mouse pointer hovers over the map.
any guidance or suggestions on this would be of great help.

Re: Mouse Hover On Map to get Lat and Lon

Hello.

Exactly the same way as for clicking.
But instead of OnMapClick use Update of your script.
In addition, you can add a check that the mouse position has changed.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.