Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages

Shopping Cart
Shopping Cart


Free Newsletter


Privacy Policy

FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.


 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

GoogleMapsByAddress ( Street ; Suburb ; State ; PostCode ; Zoom ; WebViewerObjectName )

Rate this function:  

  Average rating: 5.0  (24 votes)
  Discuss this Custom Function

Benjamin Hadfield, Knowledge & information Management (KiM)

Google Maps Address from fields in iframe

Sample Input:
GoogleMapsbyAddress ( Project::Delivery Address ; Project::Delivery Suburb ; Project::Delivery State ; Project::Delivery PostCode ; 15 ; "WV_MyWebViewerObject" )
Sample Output:
data:text/html, <style type='text/css'> html,body { overflow:hidden; } </style> <html> <head> <title>NavText</title> </head> <body bgcolor='#FFFFFF' TopMargin='0' style='border:0'> <iframe width='654' height='552' frameborder='0' scrolling='15' marginheight='0' marginwidth='0' src=' 12 / 6-8 Enterprise Street,MOLENDINAR,QLD,4214&z=15&output=embed&iwloc=0'> </iframe> </body> </html>

 Then copy & paste into FileMaker Advanced's Edit Custom Function window.


i Cant take full credit for this CF as i worked off the

GoogleMapsByCoords Function also posted on this site by Yvonne Dutreaux

Gives you an embedded google map in iFrame to suit 2014 google maps change in api

Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it


5 most recent comments | Show all 12 comments

Hi Benjamin,

I love your CF - it's exactly what I was hoping to find to work around Google maps' new iframe requirement for embedded maps.

Your CF and your .fmp12 file DO work in Filemaker version 12. The interesting thing is that it also works when I use it in Filemaker version 13, but the Webviewer doesn't render the html as anything other than a grey-filled iframe... I believe it's about FM13 and not your code. But I haven't found a solution around this problem...

Any thoughts?


Patrick Hentsch-Cowles, Dallas, Texas, USA
March 28, 2014 9:44am

The file I created \Version 11 worked as I stated.

The file I created in Version 13 failed, the results was confirmed by Patrick.

Your own file also failed in version 13.

My setup is

Macintosh OS Maverick and Safari is my default browser.

I also created a new file in version 12, and it gave the same result.
I redownloaded your file, and opened in version 12. The map drew and then turned to gray as if I had opened it in version 13.

I hope this helps.

Lee Smith, Woodland
March 28, 2014 4:29pm

Not sure what to say other than I created it in fmpa13
Haven't tried it in 12
Also works fine for me in fmpa11

Benjamin Hadfield, Sydney NSW
March 29, 2014 8:42am

Has anyone else experienced the problem of getting the map cluttered by the sudden appearance of all the default login info from Google after the API change? I used to have a clean view of just a central marker based on a slightly modified version of the code above but after the API change, I get: 1) a login box/banner, 2) a "Show in Google Maps" box, 3) a "Log in to see more" text, 4) a hybrid map instead of the satellite one that the code specifies, 5) WGS84 coordinates next to the marker. The code runs on FMPA 11 on a FMPSA 11.

Have been trying to find parameter change documentation at Google but without success, have also tried using the code with a key but still get all the login stuff.

Any help/suggestions would be greatly appreciated. Cheers, Lars

Lars Pettersson, Lund Sweden
April 14, 2014 2:41am

Pasting your example into a web object results in the flash of a map and then a gray rectangle that does not refresh or otherwise show any content

David, Sacramento
August 17, 2014 3:18pm

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 1 + 1 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. HexUUIDToNum_cf (_uuid)
  (Sat, Jun 16, 1:55pm)
2. httpResponseCode ( responseHeaders )
  (Tue, Jun 12, 10:40pm)
3. FindDuplicateCharacters ( string )
  (Fri, Jun 08, 5:01pm)
4. FieldRepetitionLast ( field ; maxRepetition )
  (Wed, Jun 06, 6:05pm)
5. CountModifiedRecords ( NameTimestampField ; StartTimestamp ; EndTimestamp )
  (Mon, May 28, 8:23am)
6. JSONArrayLength ( JSONArrayStr )
  (Fri, May 25, 7:46am)
7. interpolation (y1; y2; y3; x1; x2; x3; x1y1; x2y1; x1y2; x2y2; rnd)
  (Sat, May 19, 3:55am)
8. @JSONFormatElements ( json )
  (Tue, May 15, 3:31am)

RSS Feed of Custom Functions