SlideShare a Scribd company logo
BrunoFierens
info@tmssoftware.com
Stayin touch
http://www.facebook.com/tmssoftware
@tmssoftwarenews @BrunoFierens
Using Google Maps
in Delphi VCL and FMX apps
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
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/
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
Map options
• Map types: default, terrain, satellite, hybrid
• Traffic
• Streetview
• Language
• Controls: zoom, map type, streetview
Demo
Positioning
• Map position:
- WebGMaps.MapPanTo(),
- WebGMaps.MapPanBy(X,Y)
- WebGMaps.MapZoomTo(bounds)
• Markers
- WebGMaps.Markers.Add()
Demo
Geocoding, reversegeocoding
• Translation of address to longitude & latitude and vice versa
• Via TWebGMapsGeocoding, TWebGMapsReversegeocoding component
• In VCL helper component: TWebGMapsLookupEdit
Demo
Directions
• Calculating routes from point A to B
• Optionally add waypoints
• WebGMaps.RenderDirections()
• WebGMaps.GetDirections()
• WebGMaps.Directions result collection
• WebGMaps.FillDirectionList()
Demo
GPX, GEOJson
• Import and export GPX files
WebGMaps.LoadGPSRoute();
WebGMaps.SavePathToGPSRoute();
• Import GEOJson files (http://geojson.org/)
WebGMaps.LoadGeoJsonPolyLine();
WebGMaps.LoadGeoJsonPolygon();
Demo
Interesting links
• TMS VCL WebGMaps
http://www.tmssoftware.com/site/webgmaps.asp
• TMS FMX WebGMaps
http://www.tmssoftware.com/site/tmsfmxwebgmaps.asp
• TMS IntraWeb WebGMaps
http://www.tmssoftware.com/site/iwwebgmaps.asp
• More videos
https://www.youtube.com/user/tmssoftwareTV
Q&A

More Related Content

PDF
22-prompt engineering noted slide shown.pdf
PDF
Introduction to GitHub Actions
ODP
Devops Devops Devops
PPTX
Using GitHub actions on AWS.pptx
DOCX
Porque es importante estudiar los sistemas operativos en su carrera profesional
PDF
Introduction to Github Actions
PDF
IIS Unidad 3A Proceso de desarrollo de software
PDF
Git Branching Model
22-prompt engineering noted slide shown.pdf
Introduction to GitHub Actions
Devops Devops Devops
Using GitHub actions on AWS.pptx
Porque es importante estudiar los sistemas operativos en su carrera profesional
Introduction to Github Actions
IIS Unidad 3A Proceso de desarrollo de software
Git Branching Model

Similar to TMS Google Mapping Components (20)

PDF
EKON28_Maps_API_12_google_openstreetmaps.pdf
PDF
EKON28_Maps_API_12_google_openstreetmaps.pdf
PPTX
Adobe MAX 2009: Making Maps with Flash
PDF
Maps API on_mobile_dev_festbangkok
PDF
Intro To Google Maps
PDF
maXbox Starter 39 GEO Maps Tutorial
PDF
Android location
KEY
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
PDF
Intro to apps with maps for series 40
PPT
Google Maps API
PPTX
Google maps d1 a2
ODP
Routing plugin for JOSM
PDF
Building Location-Aware Apps with Open Source & Open Data (SXSW 2015)
PDF
PDF
Google Geo (Café Numérique)
PPTX
Location based services 10
PPT
Google Geo APIs Overview
PPTX
Google map tutorials
PPTX
Google Location Services
EKON28_Maps_API_12_google_openstreetmaps.pdf
EKON28_Maps_API_12_google_openstreetmaps.pdf
Adobe MAX 2009: Making Maps with Flash
Maps API on_mobile_dev_festbangkok
Intro To Google Maps
maXbox Starter 39 GEO Maps Tutorial
Android location
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Intro to apps with maps for series 40
Google Maps API
Google maps d1 a2
Routing plugin for JOSM
Building Location-Aware Apps with Open Source & Open Data (SXSW 2015)
Google Geo (Café Numérique)
Location based services 10
Google Geo APIs Overview
Google map tutorials
Google Location Services
Ad

More from Embarcadero Technologies (20)

PDF
PyTorch for Delphi - Python Data Sciences Libraries.pdf
PDF
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
PDF
Linux GUI Applications on Windows Subsystem for Linux
PDF
Python on Android with Delphi FMX - The Cross Platform GUI Framework
PDF
Introduction to Python GUI development with Delphi for Python - Part 1: Del...
PDF
FMXLinux Introduction - Delphi's FireMonkey for Linux
PDF
Python for Delphi Developers - Part 2
PPTX
Python for Delphi Developers - Part 1 Introduction
PDF
RAD Industrial Automation, Labs, and Instrumentation
PDF
Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase
PDF
Rad Server Industry Template - Connected Nurses Station - Setup Document
PDF
Move Desktop Apps to the Cloud - RollApp & Embarcadero webinar
PPTX
Useful C++ Features You Should be Using
PPTX
Getting Started Building Mobile Applications for iOS and Android
PPTX
Embarcadero RAD server Launch Webinar
PPTX
ER/Studio 2016: Build a Business-Driven Data Architecture
PPTX
The Secrets of SQL Server: Database Worst Practices
PDF
Driving Business Value Through Agile Data Assets
PDF
Troubleshooting Plan Changes with Query Store in SQL Server 2016
PDF
Great Scott! Dealing with New Datatypes
PyTorch for Delphi - Python Data Sciences Libraries.pdf
Android on Windows 11 - A Developer's Perspective (Windows Subsystem For Andr...
Linux GUI Applications on Windows Subsystem for Linux
Python on Android with Delphi FMX - The Cross Platform GUI Framework
Introduction to Python GUI development with Delphi for Python - Part 1: Del...
FMXLinux Introduction - Delphi's FireMonkey for Linux
Python for Delphi Developers - Part 2
Python for Delphi Developers - Part 1 Introduction
RAD Industrial Automation, Labs, and Instrumentation
Embeddable Databases for Mobile Apps: Stress-Free Solutions with InterBase
Rad Server Industry Template - Connected Nurses Station - Setup Document
Move Desktop Apps to the Cloud - RollApp & Embarcadero webinar
Useful C++ Features You Should be Using
Getting Started Building Mobile Applications for iOS and Android
Embarcadero RAD server Launch Webinar
ER/Studio 2016: Build a Business-Driven Data Architecture
The Secrets of SQL Server: Database Worst Practices
Driving Business Value Through Agile Data Assets
Troubleshooting Plan Changes with Query Store in SQL Server 2016
Great Scott! Dealing with New Datatypes
Ad

Recently uploaded (20)

PDF
madgavkar20181017ppt McKinsey Presentation.pdf
PPTX
ABU RAUP TUGAS TIK kelas 8 hjhgjhgg.pptx
PPTX
CroxyProxy Instagram Access id login.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
PDF
Transforming Manufacturing operations through Intelligent Integrations
PDF
creating-agentic-ai-solutions-leveraging-aws.pdf
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
PDF
Revolutionize Operations with Intelligent IoT Monitoring and Control
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
PDF
Google’s NotebookLM Unveils Video Overviews
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
PDF
Smarter Business Operations Powered by IoT Remote Monitoring
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
PDF
Reimagining Insurance: Connected Data for Confident Decisions.pdf
PDF
DevOps & Developer Experience Summer BBQ
madgavkar20181017ppt McKinsey Presentation.pdf
ABU RAUP TUGAS TIK kelas 8 hjhgjhgg.pptx
CroxyProxy Instagram Access id login.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Transforming Manufacturing operations through Intelligent Integrations
creating-agentic-ai-solutions-leveraging-aws.pdf
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
Revolutionize Operations with Intelligent IoT Monitoring and Control
Understanding_Digital_Forensics_Presentation.pptx
NewMind AI Monthly Chronicles - July 2025
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Google’s NotebookLM Unveils Video Overviews
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
Smarter Business Operations Powered by IoT Remote Monitoring
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Reimagining Insurance: Connected Data for Confident Decisions.pdf
DevOps & Developer Experience Summer BBQ

TMS Google Mapping Components

  • 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
  • 5. Map options • Map types: default, terrain, satellite, hybrid • Traffic • Streetview • Language • Controls: zoom, map type, streetview
  • 7. Positioning • Map position: - WebGMaps.MapPanTo(), - WebGMaps.MapPanBy(X,Y) - WebGMaps.MapZoomTo(bounds) • Markers - WebGMaps.Markers.Add()
  • 9. Geocoding, reversegeocoding • Translation of address to longitude & latitude and vice versa • Via TWebGMapsGeocoding, TWebGMapsReversegeocoding component • In VCL helper component: TWebGMapsLookupEdit
  • 10. Demo
  • 11. Directions • Calculating routes from point A to B • Optionally add waypoints • WebGMaps.RenderDirections() • WebGMaps.GetDirections() • WebGMaps.Directions result collection • WebGMaps.FillDirectionList()
  • 12. Demo
  • 13. GPX, GEOJson • Import and export GPX files WebGMaps.LoadGPSRoute(); WebGMaps.SavePathToGPSRoute(); • Import GEOJson files (http://geojson.org/) WebGMaps.LoadGeoJsonPolyLine(); WebGMaps.LoadGeoJsonPolygon();
  • 14. Demo
  • 15. Interesting links • TMS VCL WebGMaps http://www.tmssoftware.com/site/webgmaps.asp • TMS FMX WebGMaps http://www.tmssoftware.com/site/tmsfmxwebgmaps.asp • TMS IntraWeb WebGMaps http://www.tmssoftware.com/site/iwwebgmaps.asp • More videos https://www.youtube.com/user/tmssoftwareTV
  • 16. Q&A