Hello,
how is possible to scroll a google static map?
So far, i'm downloading a PNG image in the device, than i load it in the canvas but i cannot scroll it (i'd need to download another picture).
Bye
Giæ
Hello,
how is possible to scroll a google static map?
So far, i'm downloading a PNG image in the device, than i load it in the canvas but i cannot scroll it (i'd need to download another picture).
Bye
Giæ
Yes,
i know that i have to download a new map.
Actually what i do not know is how to ge the coordinate of latitude and longitude of the center of the new static map that i have to download. Any idea?
Hi,
I've found this JS function that could help you:
http://www.polyarc.us/adjust.js
where:
Hope it helps"x" is Latitude in fractional degrees
"y" is Longitude in fractional degrees
"deltaX" is positive / negative Latitude adjustment in PIXELS
"deltaY" is positive / negative Longitude adjustment in PIXELS
"z" is zoom level
Pit
thank you man!
I deleted the round function and now it's perfetly working!
Hi,
I am also doing the same thing to scroll static google map image. But i am not able to implement adjust function on that. Can you help me out.
what i have to do with static image, i need to change mutable or anything else i have to change for scroll the Google MAP.
Please kindly help if anybody known.
Thanks in advance
R. mottaisami
please provide me the code of scrolling in j2me please please
hello itsspy_2050
you can ask this question at the the java mobile forums for more efficient replies.
Regards,
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60
Hi guys,
I'm not able anymore to retrieve the code because I've lost it since I did not program anymore but I can give you an important tip which I've learned from the boat-driving-license that is:
If you have a GPS point of coordinates:
LAT alpha= 41° yyy.zz ' N
LON deltha = 012° kkk.tt' E
you can estimate that
1 Minute of degree longitude= 1 International Nautical Miles = 1852m (http://en.wikipedia.org/wiki/Nautical_mile)
Please, watch out that latitude and longitude can be written either on decimal format (41.50 °N) or in Degrees, Minutes, Seconds (Es: 41° 30' 00'' N) and you can use that equation only for minute of degree. This means that if you have the coordinates in decimal format, you first have to convert it to degree, minutes, seconds.
The second remark is that that equation is valid only for short distances so you should not use it when the zoom of the map is very out.
You can use this equation to map the movement of the map in your display.
Good luck
If you want to minimise the number of bytes downloaded, you would be better off using a proper Java ME library to display a scrolling map. e.g. look at:
http://www.developer.nokia.com/Devel...I_for_Java_ME/
If you insist on using a static mapping library for a dynamic mapping using case, you could look at:
http://www.developer.nokia.com/Commu...I_with_Java_ME
The only dynamic maps within the Map Image API rely in JavaScript, but this link may prove useful:
http://m.nokia.me/dynamic.jsp?c=62.2...400&w=300&z=13