I'm still working on the map displaying in Filemaker Go. You can have your map display in Google Maps App by changing or creating a new custom function, so when you tap the map in filemaker Go it will open Google Maps. Note that the Google Maps App must be installed. I changed the MapAddressWeb custom function for testing purposes. The new function is as follows :
If ( not IsEmpty ( address1 ) ; address1 ; "" ) &
If ( not IsEmpty ( address2 ) ; ", " & address2 ; "" ) &
If ( not IsEmpty ( city ) ; ", " & city ; "" ) &
If ( not IsEmpty ( state ) ; ", " & state ; "" ) &
If ( not IsEmpty ( postalCode ) ; ", " & postalCode ; "" ) &
If ( not IsEmpty ( country ) ; ", " & country ; "" ) &
The contact also has map icon to display a map that uses open url and I copied the url to a web viewer and the map displayed correctly aligned. On the iPad you really can't tell anything from the map, but then you can click and open a larger map. I didn't modify any of the custom functions for this, just copied and paste. You could modify the function to use the same url as the button. I pasted a copy here :
"http://local.google.com/maps?" & "q="
Contacts::Work Address 1
& ", " &
Contacts::Work Address 2
& ", " &
& ", " &
& ", " &
Contacts::Work Postal Code
& ", " &
Here is a link that may be helpful. https://developers.google.com/maps/documentation/ios/urlscheme The instructions at that link stated you had to check for google maps apps on the devices. I delete the google maps app and the solution still worked. Heck, I was doing these test early in the morning, so I may have miss something. Maybe something in these post can help.
Thanks so much for the info. So it now runs in the iOS (i didn't have google maps installed) but can't get it to display properly in the container field on the iPad only. Looks fine on the iPhone but displays only a portion on the iPad. See image below.
It looks properly positioned in the layout mode but when loaded on the iPad, it is cut off. Any help would be appreciated. Thx
I modify the GetMap Function and it will now work on both desktop & iPad as expected. Here is a download of the contacts starter solution with the modified custom function.
I also just tested on iPhone and the map displayed correctly.
Thanks so much for the info. There is a small area on the left side and the top that show white border like area around the left and top borders of the image?Is there a way to eliminate that? Thanks again.
I have the same problem ... but downloading the S Chamblee's file with the solution I do not know where to intervene. In particular, it seems to me that the file "Contacts FileMaker Go 13 Starter Solution" is the same as that made from S Chamblee. Please help me .... where is the solution??????
I modified the GetMap Custom function. Go to Manage, Custom Functions then copy the contents of GetMap to the GetMap custom function in your database.
This is the modified custom function GetMap
address = List (
URL = Substitute ( address ; ¶ ; "+" ) ;
size = GetLayoutObjectAttribute ( webViewerName ; "width" ) & "x" & GetLayoutObjectAttribute ( webViewerName ; "height" ) ;
zoom = Case (
not IsEmpty ( address1 & address2 ) ; 14 ;
PatternCount ( address ; city ) ; 7 ;
PatternCount ( address ; state ) ; 4 ;
PatternCount ( address ; country ) ; 3
<img src='http://maps.google.com/maps/api/staticmap?center=" &
"&zoom=" & 15 &
I'm struggling with this same issue. I've copied and pasted Stacy's last code and while it corrects the the window display on Go FileMaker, it shows a blue picture with Google's logo on it. I've also tried downloading the file but seems to no longer be available.
I just tried it with a brand new contacts solution template and it woks. I must have corrupted the code elsewhere.
Just seen your post, glad you got it working. I did some file cleanup on my dropbox, so I will check the link and try to fix it, some time today.