Subscribe to Updates

    Get the latest business apps & software news from FMT.

    What's Hot

    FileMaker Dashboards | DB Services

    August 10, 2022

    Claris Licensing Price Increase | DB Services

    August 4, 2022

    Claris Platform Bundle | DB Services

    July 29, 2022
    Facebook Twitter Instagram
    Trending
    • FileMaker Dashboards | DB Services
    • Claris Licensing Price Increase | DB Services
    • Claris Platform Bundle | DB Services
    • Salesforce Winter ’23 Release Dates & Preview Information
    • Surveys for Success: Gleaners Food Bank
    • FileMaker Text Message Integration with Message Media
    • FileMaker ReadQRCode & GetLiveText functions
    • Parallel Backups on FileMaker Server
    Facebook Twitter Instagram YouTube
    SalesForce – FileMaker Business Software & Hosting SalesForce – FileMaker Business Software & Hosting
    Demo
    • Home
    • Features
      • Example Post
      • Typography
      • Contact
      • View All On Demos
    • Lifestyle

      Sci-fi Television Star Summer Glau Added to Next Play Launch

      March 15, 2021

      Season-less Fashion Trends are Now Reflecting Our Lifestyles

      January 19, 2021

      Windows 10 To Be Retired in 2025, As New OS Unveils

      January 18, 2021

      Average Mobile Data Usage Now Exceeds 10GB Per Month

      January 17, 2021

      Tom H is Ready To Take a Break After Spider-Man 3

      January 16, 2021
    • Typography
    • Travel
      1. Lifestyle
      2. Arts & Culture
      3. Food
      4. View All

      Sci-fi Television Star Summer Glau Added to Next Play Launch

      March 15, 2021

      Season-less Fashion Trends are Now Reflecting Our Lifestyles

      January 19, 2021

      Windows 10 To Be Retired in 2025, As New OS Unveils

      January 18, 2021

      Average Mobile Data Usage Now Exceeds 10GB Per Month

      January 17, 2021

      Guitarist John 5 Shreds at Sherman Theater in Stroudsburg

      March 13, 2021

      The New Home Decor Items and Collections We’re Excited About Now

      March 12, 2021

      Top 4 Composition Tips for Better Fashion Photography

      January 22, 2021

      10 New Designs, Design Firms Team Up to Launch This May

      January 22, 2021

      Austrians Dine Out Again After Virus Lockdown

      January 15, 2021

      The Best Places to Dine Out in Dingle This Summer

      January 15, 2021

      Is the Best New Fast-Food Chicken Sandwich By a Long Shot

      January 15, 2021

      Slim Chickens Bringing Fast-Food Restaurants to 9 Alabama Locations

      January 15, 2021

      Coronavirus: Greece is Officially Open — But Will the Tourists Come?

      March 14, 2021

      2m People Go Through US Airports, Travel Rebounds With Vaccination

      March 11, 2021

      Father’s Day Walks, Water Sports, & Meals in Plymouth

      January 15, 2021

      Review: Bucket List Destinations 2021 Across the Globe

      8.9 January 15, 2021
    SalesForce – FileMaker Business Software & Hosting SalesForce – FileMaker Business Software & Hosting
    Home » FileMaker Google Maps Polygon Integration
    Uncategorized

    FileMaker Google Maps Polygon Integration

    DBServicesBy DBServicesDecember 29, 2021No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email


    By
    Sam Gallagher 

    Posted on 
    December 29th, 2021 

    in 
    FileMaker,

    Free Downloads

    Google offers a plethora of APIs to integrate different Maps features in custom solutions, including polygons. In Google Maps, a polygon defines a series of connected coordinates, forming a closed loop. They can be used to define the boundaries of a lake, city, or forest, for example, and can be useful to show the distribution of features in different regions on the map. In this article, we’ll discuss how to use the Google Maps JavaScript API polygons feature to display locations and regions on a virtual map embedded in your FileMaker solution. 

    API Setup

    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.

    Google Developer Console Dashboard

    Once you have created the project, you will then need to enable the Google Maps JavaScript API and then set up the credentials for the API. Once you have an API key, paste it into the example FileMaker solution.

    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.

    Storing and Restoring Polygons

    We use a handler script in FileMaker to take the polygon properties and create a FileMaker record and assign those properties to a field.

    Storing Polygons

    We need a script and JavaScript function to restore polygons that are stored in FileMaker. The FileMaker script creates a list of polygon properties through a cartesian relationship and calls an associated function using the Perform Javascript in Web Viewer script step.

    Perform Javascript in Web Viewer script step

    Finally, the JavaScript function takes the list of polygon properties and adds them to the map.

    Adding Polygon Properties to Map

    Conclusion

    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

    Download the FileMaker Google Maps Polygon Integration File

    Please complete the form below to download your FREE FileMaker file.

    Sam Gallagher thumbnail
    Sam Gallagher

    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.

    FileMaker Google Integration Maps Polygon
    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Tumblr Email
    DBServices
    • Website

    Related Posts

    FileMaker Dashboards | DB Services

    August 10, 2022

    Claris Licensing Price Increase | DB Services

    August 4, 2022

    Claris Platform Bundle | DB Services

    July 29, 2022

    Comments are closed.

    Demo
    Our Picks

    Noise-Cancelling Headphones For a Superb Music Experience

    January 15, 2020

    Harry Potter: 10 Things Dursleys That Make No Sense

    January 15, 2020

    Dubai-Based Yacht Company is Offering Socially-Distanced Luxury

    January 15, 2020

    The Courier – a New Song with Benedict Cumberbatch

    January 14, 2020
    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo
    Don't Miss
    Uncategorized

    FileMaker Dashboards | DB Services

    By DBServicesAugust 10, 20220

    By Hayden Hobbs  Posted on  August 10th, 2022  in  Free Downloads, Claris FileMaker When making…

    Claris Licensing Price Increase | DB Services

    August 4, 2022

    Claris Platform Bundle | DB Services

    July 29, 2022

    Salesforce Winter ’23 Release Dates & Preview Information

    July 13, 2022

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Your source for the lifestyle news. This demo is crafted specifically to exhibit the use of the theme as a lifestyle site. Visit our main page for more demos.

    We're accepting new partnerships right now.

    Email Us: info@example.com
    Contact: +1-320-0123-451

    Our Picks

    Noise-Cancelling Headphones For a Superb Music Experience

    January 15, 2020

    Harry Potter: 10 Things Dursleys That Make No Sense

    January 15, 2020

    Dubai-Based Yacht Company is Offering Socially-Distanced Luxury

    January 15, 2020
    New Comments
    • buy viagra online best price on Guitarist John 5 Shreds at Sherman Theater in Stroudsburg
    • https://buyviagraonline.fo.team/ on Guitarist John 5 Shreds at Sherman Theater in Stroudsburg
    • buy viagra no rx on Guitarist John 5 Shreds at Sherman Theater in Stroudsburg
    • https://buyviagraonline.estranky.sk/clanky/buy-viagra-without-prescription-pharmacy-online.html on Guitarist John 5 Shreds at Sherman Theater in Stroudsburg
    SalesForce – FileMaker Business Software & Hosting
    Facebook Twitter Instagram YouTube
    • Home
    • Lifestyle
    • Arts & Culture
    • Travel
    © 2022 FMT - MacLane Nova Digital Media - USA - Canada - Mexico - Sable Island - Bermuda - Isle of Man - Scotland - UK - France - Spain - Italy - Sweden - Australia - New Zealand -

    Type above and press Enter to search. Press Esc to cancel.