Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i am new in qlikview.please let me know why google map is not coming.i am sending .qvw file here with.
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°.
Hope it s useful to u
thnks.i will try my lvl best to implement it.
otherwise i will come once again.
still map is not coming.
i dnt know what is going wrong.
please help me out.
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.
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
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.
many many thanks.
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.