|
2007-09-25
, 12:49
|
Posts: 64 |
Thanked: 0 times |
Joined on Jul 2007
|
#432
|
Yes it works well to show China map now! thanks very much!
Just curious how do you get the url?
btw i m still interested in converting other formats of maps. how to convert the lon-lan to the index number and the specfic pixel in the 256X256 image, and vise verser? i thought out a formula but i m doubhtful that it might be wrong.
|
2007-09-25
, 15:05
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#433
|
Yes it works well to show China map now! thanks very much!
Just curious how do you get the url?
btw i m still interested in converting other formats of maps. how to convert the lon-lan to the index number and the specfic pixel in the 256X256 image, and vise verser? i thought out a formula but i m doubhtful that it might be wrong.
|
2007-09-26
, 15:01
|
Posts: 10 |
Thanked: 2 times |
Joined on Sep 2007
|
#434
|
The "-2" version is the 770 build, and the "-3" version is the N800 build ("-2" and "-3" are otherwise identical), so yes, install 1.4.7-2.
|
2007-09-26
, 15:05
|
Posts: 10 |
Thanked: 2 times |
Joined on Sep 2007
|
#435
|
I went to the URL that you sent me in my browser (any browser should work, I think, but I used a Mozilla-based one), and once I saw the javascript-enabled map, I right-clicked on it and selected "Copy Image Address to Clipboard". I then examined the URL and found the x, y, and zoom variables. This particular example's URL looked like this:
http://mapgoogle.mapabc.com/googlech...11&y=6&zoom=13
It was pretty easy to interpret because it was identical to normal Google's URL format. It was really just a matter of discovering the hostname and path of the map script (mapgoogle.mapabc.com/googlechina/maptile).
Take a look at this post to get an idea about how to convert lat/lon to tile number. If you know C, you can look at the code to get more details. Let me know if you have any specific questions about it.
|
2007-09-26
, 23:38
|
|
Posts: 794 |
Thanked: 784 times |
Joined on Sep 2007
@ /Canada/Ontario/GTA
|
#436
|
|
2007-09-27
, 16:42
|
|
Posts: 1,245 |
Thanked: 421 times |
Joined on Dec 2005
|
#437
|
|
2007-09-27
, 17:24
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#438
|
|
2007-09-27
, 20:55
|
Posts: 28 |
Thanked: 1 time |
Joined on Aug 2007
|
#439
|
|
2007-09-28
, 01:16
|
|
Posts: 794 |
Thanked: 784 times |
Joined on Sep 2007
@ /Canada/Ontario/GTA
|
#440
|
Just curious how do you get the url?
btw i m still interested in converting other formats of maps. how to convert the lon-lan to the index number and the specfic pixel in the 256X256 image, and vise verser? i thought out a formula but i m doubhtful that it might be wrong.