TMS Software's Map Packs make it easy to integrate mapping into your applications. Based on the Google Maps and OpenStreet Maps sources. Join us for this webinar to learn how to take your mapping to the next level.
Works on VCL, FireMonkey (FMX), Windows, Android, iOS, macOS, Delphi and C++Builder.
2. Using Google Maps in Delphi apps
• Introduction: Google Maps in Delphi apps
• Architecture in a nutshell
• Map options
• Positioning, markers
• Geocoding, reverse geocoding
• Directions
• GPX, GEOJson
3. Introduction: Google Maps in Delphi apps
• Programmatic control of Google Maps via Delphi code
• Wide range of geographical related functions
• Available for
- VCL apps for Windows
- FMX apps for Windows, macOS, Android, iOS
- IntraWeb apps for web
• Easy to use Delphi classes, properties, methods. No Javascript required
• Free liberal use of Google Maps, some use is paying
https://console.developers.google.com/
4. Architecture in a nutshell
WebBrowser control based
• Navigate to https://maps.google.com
• Injection of Javascript to interact with map via Google Maps Javascript API
• Use WebBrowser interface to expose Javascript browser events as Delphi events
• Additional use of Google geocoding / Reverse geocoding APIs
9. Geocoding, reversegeocoding
• Translation of address to longitude & latitude and vice versa
• Via TWebGMapsGeocoding, TWebGMapsReversegeocoding component
• In VCL helper component: TWebGMapsLookupEdit
11. Directions
• Calculating routes from point A to B
• Optionally add waypoints
• WebGMaps.RenderDirections()
• WebGMaps.GetDirections()
• WebGMaps.Directions result collection
• WebGMaps.FillDirectionList()