I'm looking for a Delphi component that enables the user to pick and modify lat/lon coordinates, preferably in a user-friendly way (that is, not by entering two numbers).
Ideally, the component would work as follows:
latitude and longitude that can be edited by the user.Does anybody know if such a component exists? Open-source solutions are preferred. If not, can anybody get me started on how to build such a component?
Try using the Google Static Maps API V2, If you want a Delphi sample to use this API try this article Using Google maps (Static Maps) without TWebBrowser and also check the license agreement (because in the time when I wrote this article the license agreement was different).
...If a Static Maps API image is used outside of a web-based application (such as a browser) then a link must be included pointing to the displayed location in a web browser or native Google Maps application
Here you can find 4 articles about use the Google API in Delphi. You can find two arcicles about GeoAdress and two about Google Maps. How to find coordinates (lat/long) of an postal adress o select a position (lat/long) visualy in a Google Maps and retrieve it with Delphi.
The articles are in Spanish, but you can access to authomatic translation with a button on right of page.
All articles are with code; See and test it.
Regards.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With