I’m designing a site for a friend who runs a small restaurant and have incorporated the Google Maps action to show the location. When I preview the site when working in Freeway all appears as it should but when uploading to my server to demo an error message appears:
It looks like that’s the only part of the address that’s actually in the text field. Try removing the line-breaks from the address (replace them with commas) before you paste it into the Marker Action. If you look at the generated code, the Postal Code is the only thing being passed to the function that requests the map.
fwGMapBuild('item2', 'BH1 1PH', 14, true, G_NORMAL_MAP, new GSmallMapControl(), new GMapTypeControl(), false, null, new GOverviewMapControl(), true, 'Arial,Helvetica,sans-serif', 'Natural Bourne Grillers', '');
Walter
On Dec 6, 2011, at 9:06 AM, graphic_inc wrote:
Hi all,
I’m designing a site for a friend who runs a small restaurant and have incorporated the Google Maps action to show the location. When I preview the site when working in Freeway all appears as it should but when uploading to my server to demo an error message appears:
I’m designing a site for a friend who runs a small restaurant and have incorporated the Google Maps action to show the location. When I preview the site when working in Freeway all appears as it should but when uploading to my server to demo an error message appears:
Try turning off More Efficient code in the Inspector palette for that page. If that still fails send your file in to support(a)softpress.com and we’ll take a closer look there.
Many thanks,
Joe
On 6 Dec 2011, at 15:03, graphic_inc wrote:
Hi waltd & Joe,
Thanks for both of your suggestions which I’ve just tried but still receiving the error?
Thanks for sending your file, David. It looks like your API Key is incorrect. Click the button at the bottom of the Action palette and re-enter the domain name to get a new key. I uploaded it to my domain and got the same message as you. I then tried adding the API Key based on my domain and it started working:
Thanks for your help Joe. I followed your instructions and it’s working on my server now.
The API key I’d entered originally was supplied by my friend which must relate specifically to his domain name, so when I upload the final site to his server I will need to change the API key back to the one he supplied.