Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
klaus_feldam
Creator II
Creator II

Google Maps off center when zoomed out

GoogleMap.JPG

Our Google Maps are off center when we are zoomed out. Once you zoom in to a state or city, the map appears to be correct.

Any ideas of how to best tweak the map?

The formula for the static map is:

='http://maps.google.com/staticmap?center='&Replace(var_mid_lat,',','.')&','&Replace(var_mid_long,',',...

'&zoom=$(var_zoom)'&'&maptype='&var_maptype&'&size='&def_map_size&'x'&def_map_size&'&key='&gmap_key &

'.jpg

Labels (1)
1 Reply
Not applicable

Try this (for V3 api):
='http://maps.googleapis.com/maps/api/staticmap?center='&num(var_mid_lat, '##############', '.', ',' )&','&num(var_mid_long, '##############', '.', ',' )&'&zoom=$(var_zoom)'&'&maptype='&var_maptype&'&size='&map_size_x&'x'&map_size_y&'&sensor=false'&'&scale='&map_scale