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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

google map is not coming

i am new in qlikview.please let me know why google map is not coming.i am sending .qvw file here with.

11 Replies
Not applicable
Author

Hi

Ur latitude longitude s wrng yar.

u must convert it lik ths

Normal 0 false false false EN-US X-NONE X-NONE

Conversion :

Convert 102° 45' 54" to decimal form.

Clearly, I've got 102°, but how do I convert the minutes and seconds to decimal form? By using the definitions and doing the divisions. The 45' means 45/60 of a degree, since each degree contains sixty minutes. Simplification and long division gives me 45/60 = 3/4 = 0.75. So the 45' is 0.75°.

Now I need to deal with the 54". Since each minute is sixty seconds, then I get 54/60 = 9/10 = 0.9. But this is minutes. Now I need to convert the 0.9 of a minute to degrees:

(0.9 minutes)(1 degree / 60 minutes) = 0.015 degrees

So 102° 45' 54" = 102° + 0.75° + 0.015° = 102.765°.

Not applicable
Author

Hope it s useful to u

Not applicable
Author

thnks.i will try my lvl best to implement it.

otherwise i will come once again.

Not applicable
Author

still map is not coming.

i dnt know what is going wrong.

please help me out.

spividori
Specialist
Specialist

Hi.

Go to this page: http://community.qlik.com/media/tags/Google+Maps/default.aspx?GroupID=3

and download an example of Google maps to see it working.

Regards.

hector
Specialist
Specialist

Hi

The dynamic background code is wrong you have 'http://maps.google.com/staticmap?center='

and it has to be


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


by the way, do you have a valid gmap key?

it will be better, if you get the suggested file (or use the sample when you install QV Full), and modify it

Rgds

Not applicable
Author

Hi

Now ur map s wrking fine. Please find tht attachment.

One prob s coversion for latitude and longitude s wrng. please do it correctly thn u get ur point perfectly.

Not applicable
Author

many many thanks.

Not applicable
Author

hi can u send me the sample xls file(anutosh123@gmail.com) which contains name of the place associted with latitude and longitude.

one thing i didn't understand that- Normal 0 false false false EN-US X-NONE X-NONE

can u explain a little bit if possible.