Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Has anyone managed to get Mapbox working in qlikview?
I can see several threads on it and even an old extension but none seem to provide any up to date information and the extension is no longer running.
I've got a system which generates the URL perfectly and if I copy this into the browser it is the exact map I want, but it won't display as the background of a scatter in qlikview (Google and Bing work great).
Example Url: https://api.mapbox.com/styles/v1/adamdavi3s/ciqcbvvx50024e1mbl9p7f6yj.html?title=true&access_token=m...
Note it does not work in desktop or webview
Figured it out, this won't give you slippy maps but will return a static map as per google.
This is the URL to retrieve the image (for example):
='https://api.mapbox.com/v4/mapbox.light/'&num(v_map_var_mid_long, '##############', '.', ',' )&','&
num(v_map_var_mid_lat, '##############', '.', ',' )&','
&v_map_var_zoom&'/600x600.png?access_token=yourtokengoeshere'
Figured it out, this won't give you slippy maps but will return a static map as per google.
This is the URL to retrieve the image (for example):
='https://api.mapbox.com/v4/mapbox.light/'&num(v_map_var_mid_long, '##############', '.', ',' )&','&
num(v_map_var_mid_lat, '##############', '.', ',' )&','
&v_map_var_zoom&'/600x600.png?access_token=yourtokengoeshere'
Looks like there is a bit of work to be done on getting this exact, the zoom levels differ which leads to some inconsistencies if trying to use the original google maps formula (bing translated great)
OK this is the formula required to make the zoom level work with all the google code:
='https://api.mapbox.com/styles/v1/mapbox/'&
v_map_maptype&'-v9'&
'/static/'&num(v_map_var_mid_long, '##############', '.', ',' )&
','&
num(v_map_var_mid_lat, '##############', '.', ',' )&
','&
',0,0/'&v_map_map_size_x &'x'&v_map_map_size_y&
'?access_token=yourtokenhere'
note the slight adjustment made to the zoom section