December 29th, 2021
Getting your API key is free and easy, and the first step is to create a project in the Google Developers Console if you don’t already have one.
Storing and Restoring Polygons
A FileMaker record needs to be created for each polygon drawn on the map. This allows the polygon to be recreated when the map is refreshed or used on a different layout in the FileMaker solution. To achieve this, we take the properties of the polygon object and send them to FileMaker using the FileMaker.PerformScript() function. This logic is contained in a listener function that runs when the user has completed drawing a polygon on the map.
We use a handler script in FileMaker to take the polygon properties and create a FileMaker record and assign those properties to a field.
Using Google Maps polygons in conjunction with your FileMaker solutions enables you to display useful and dynamic geographical information with simple FileMaker scripts and a few lines of code. If you have any questions or want to discuss a Google Maps integration in your FileMaker solution, please contact DB Services.
Did you know we are an authorized reseller for FileMaker Licensing?
Contact us to discuss upgrading your FileMaker software.
Download the FileMaker Google Maps Polygon Integration File
Please complete the form below to download your FREE FileMaker file.
Sam is a friendly and energetic application developer who is
motivated by producing high-quality results for customers. His ability to
easily converse with anyone and his dedication to contributing to his team’s
success make him a valuable asset to fellow team members and customers alike.