AnsweredAssumed Answered

Google Maps JavaScript API Not Working in Web Viewer in Preview Mode

Question asked by MikeMemme on Sep 9, 2018
Latest reply on Sep 10, 2018 by TSGal

We have been using the Google Maps JavaScript API in a web viewer on the Mac and Windows desktop apps to add location information to contracts we are generating in Filemaker. Everything worked fine up to Filemaker version 15.


The Google Maps Javascript API shows properly in Mac and Windows Web Viewers on the desktop app in Browse mode in FM versions 16 and 17 but when you switch to Preview mode, the map disappears, shows a small section of the map, or shows a line approx 2 or 3 pixels tall. Version 15 works fine, but versions 16 and 17 do not.


You can test this by creating a Web Viewer on a new layout and adding the code from the Google Maps Javascript API "Hello World" sample on this web page:


Overview  |  Maps JavaScript API  |  Google Developers


You'll need to have an API key to test the code.


When switching from Browse mode (which works fine) to Preview mode on the Mac, the following message pops up:


Screen Shot 2018-09-09 at 7.25.58 PM.png


A message pops up in Windows as well but disappears too quickly to see what it says - although I suspect it says the same thing.


We would like to upgrade from Filemaker 15 to Filemaker 17 but can't do that until this issue gets fixed.


Has anyone found a workaround?