AnsweredAssumed Answered

Google Map Zoom in Web Viewer: Doesn't Work

Question asked by wacole1213 on Jul 14, 2016
Latest reply on Jul 15, 2016 by wacole1213

I have the following entered in the Web Address field of the Web Viewer.  The switch is to distinguish between maps which have Street Address data and those that have Lat/Long data.  It works OK, except for the Zoom field.  I have set that field [BurgessPlaces::bp_map_zoom] as a Number.  Regardless of what I enter to this field, the displayed map defaults to the default Google Map zoom value - which, I think, is 15.  What am I doing wrong, please?  [Oh, I've tried both &z= and &zoom=.  Neither works.]

 

I claim no originality as I copied the web address - modified for my application - from FileMaker Custom Function:fnGoogleMap (Address; City; State; Zip; Zoom)

 

If (BurgessPlaces::bp_map_switch = "Street";


"http://maps.google.com/maps?q=" & /*Address=*/ BurgessPlaces::bp_map_address & "," & /*City=*/ BurgessPlaces::bp_map_city & "," & /*State=*/ BurgessPlaces::bp_map_state & "," & /*Zip Code=*/ BurgessPlaces::bp_map_zip & "," & /*Country=*/ "US" & "&zoom=" & /*Zoom= */ BurgessPlaces::bp_map_zoom & "& output=embed&iwloc=0"

;

"https://maps.google.com/maps?q=" & /* Lat= */ BurgessPlaces::bp_geocoord_north & "," & /* Long= */ BurgessPlaces::bp_geocoord_east & "&zoom=" & /*Zoom= */ BurgessPlaces::bp_map_zoom & "& output=embed&iwloc=0")

 

Thanks very much ...

Outcomes