Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Google Maps in QlikView Developer no longer available?

Dear all,

since yesterday none of the google maps examples is working any longer in my QlikView Developer! (e.g. see The Google Maps Example with London flats!)

I registred for a new google maps key but there was no effect at all.

What happened? Did Google stop using the static google maps API for QlikView Developer??

I hope anybody will know the answer.

Thanks.

Fabian

1 Solution

Accepted Solutions
stephen-a_redmo
Valued Contributor II

Google Maps in QlikView Developer no longer available?

Hi Fabian,

Looks like Google have decided that they don't want the .jpg at the end of the API Key. QlikView relies on this so that it recognises that the result is an image.

A little swapping of parameters solves it:


='http://maps.google.com/staticmap?center='
&
num(var_mid_lat, '##############', '.', ',' )
&
','
&
num(var_mid_long, '##############', '.', ',' )
&
'&zoom=$(var_zoom)'
&
'&size='&map_size_x&'x'&map_size_y
&
'&key='&gmap_key
&
'&maptype='&var_maptype
& '.jpg'


Regards,

Stephen

21 Replies
stephen-a_redmo
Valued Contributor II

Google Maps in QlikView Developer no longer available?

Hi Fabian,

Looks like Google have decided that they don't want the .jpg at the end of the API Key. QlikView relies on this so that it recognises that the result is an image.

A little swapping of parameters solves it:


='http://maps.google.com/staticmap?center='
&
num(var_mid_lat, '##############', '.', ',' )
&
','
&
num(var_mid_long, '##############', '.', ',' )
&
'&zoom=$(var_zoom)'
&
'&size='&map_size_x&'x'&map_size_y
&
'&key='&gmap_key
&
'&maptype='&var_maptype
& '.jpg'


Regards,

Stephen

Not applicable

Google Maps in QlikView Developer no longer available?

Hello Stephen,

thank you for your answer. Indeed it works. Smile

But with your code the maptype parameter won't be working any longer.

What happened?

Fabian

stephen-a_redmo
Valued Contributor II

Google Maps in QlikView Developer no longer available?

Hi,

Simple fix.

Just change:


& '.jpg'


to


& '&.jpg'


Stephen

Not applicable

Google Maps in QlikView Developer no longer available?

OK. Thank you very much.

Fabian

Not applicable

Google Maps in QlikView Developer no longer available?

Thanks a lot for this tip. Really appreciate it. Thought for a moment Google decided to ban Qlikview clients across their network. Without the change, even trying to embed an image from blogger as a dynamic image background would not work.

Pardon the grammar.

Not applicable

Google Maps in QlikView Developer no longer available?

why it does not work to me? Here is my code. I added "&" in front of ".jpg"

='http://maps.google.com/staticmap?center='
&
num(var_mid_lat, '##############', '.', ',' )
&
','
&
num(var_mid_long, '##############', '.', ',' )
&
'&zoom=$(var_zoom)'
&
'&size='&map_size_x&'x'&map_size_y
&
'&key='&gmap_key
&
'&maptype='&var_maptype
& '&.jpg'

Anyone could give me the complete code? Thanks

stephen-a_redmo
Valued Contributor II

Google Maps in QlikView Developer no longer available?

Hi,

Do you have a valid Google Maps API Key?

If you copy this code into a text box, does it create a valid looking URL? If you copy this URL into a web browser, does it work?

Stephen

Not applicable

Google Maps in QlikView Developer no longer available?

Thanks Stephen,

I did some research and found I need the key.

Now everything works. Thanks again.

james
Contributor III

Google Maps in QlikView Developer no longer available?

I cannot get this to work any longer...

I thought I registered for a valid key and it still doesnt work.. 1 week ago it did

Any ideas?

I am receiving"Your client does not have permission to get URL " when i use the text object and paste it into a URL

Community Browser