Google Maps API changed from v2 to v3

If your Google Maps objects doesn’t work anymore in QlikView, you have to change the API call to match the new V3 syntax:

Old call:

=’http://maps.google.com/staticmap?center=‘ &var_mid_lat&’,’&var_mid_long&’ &zoom=$(var_zoom)’&’ & maptype=’&var_maptype&’ &size=400×400’&’ &key=’&gmap_key &’.jpg’

New call:

=’http://maps.googleapis.com/maps/api/staticmap?center=‘ &var_mid_lat&’,’&var_mid_long&’ &zoom=$(var_zoom)’&’ &maptype=’&var_maptype&’ &size=400×400’&’ &sensor=false’

Advertisements
Tagged with: , ,
Posted in Google Maps
One comment on “Google Maps API changed from v2 to v3
  1. sundar says:

    Thanks for the suggestion …. for this V3 maps I couldn’t change the map type to satellite mode

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: