Jump to content
Server Maintenance This Week. ×

Google Maps GetMap function on FMP 11


This topic is 4343 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am trying to implement the following function on some FMP11 documents but can't get it to work. However it works fine on FMP 12. Is that normal or am I missing something?


Let  (

[

address =  Substitute  (

	   address1 & " " &

	   address2 & " " &

	   city & " " &

	   state & " " &

	   postalCode & " " &

	   country ;

	   " " ; "+"

	   ) ;

size =   GetLayoutObjectAttribute ( webViewerName ; "width" ) & "x" & GetLayoutObjectAttribute ( webViewerName ; "height" )

] ;

"http://maps.google.com/maps/api/staticmap?center="

   & address &

	"&zoom=" & zoom &

	 "&markers="

	  & address &

	   "&size="

		& size &

		 "&sensor=false"

)

Link to comment
Share on other sites

I still don't know the answer to this question, but I have found a similar function that does work under FMP11 which is :


"http://maps.google.com.au/maps?f=q&source=s_q&hl=en&geocode=&q=" & Address & "," & City & "," & State & "," & Zip & Country & "&z=" & Zoom & "&output=embed&iwloc=0"

The only problem here is that I get an error message with the Google Map that says

Screen reader users: click here for plain HTML

Your browser's current font size is not supported. Please reset to the standard font size.Learn moreDismiss

Would anyone know how to avoid getting this message. From another forum there seems to be a suggestion that it's linked to Lion.

Link to comment
Share on other sites

This topic is 4343 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.