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:
- It has fields
latitudeandlongitudethat can be edited by the user. - Given coordinates, it displays a map or satellite picture with a marker.
- It can take an address (street, number, zip-code and country) and make a guess for the coordinates
- It would be nice if a user can drag the marker to adjust the coordinates
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 articleUsing Google maps (Static Maps) without TWebBrowserand also check the license agreement (because in the time when I wrote this article the license agreement was different).