- Posts: 4
- Thank you received: 0
How to change map.google.com to ditu.google.com
- flygo
- Topic Author
- Offline
- New Member
Less
More
11 years 3 months ago #3170
by flygo
How to change map.google.com to ditu.google.com was created by flygo
Good Work for Zh GoogleMap, amazing compnent!
For I'm a Chinese, I want to use ditu.google.com instead of the default maps.google.com . Where and How to change this?
For I'm a Chinese, I want to use ditu.google.com instead of the default maps.google.com . Where and How to change this?
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
11 years 3 months ago #3171
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic How to change map.google.com to ditu.google.com
Hi, thanks
I didn't read a lot of difference between this (ditu and maps) - as I understand right - the main difference - different tiles (borders) and local search.
And if you can check, for example, save page, and change API loading call to ditu.google.map, and if all will work - I can add ability to control what API (ditu or native google's) load.
By the way, as for Chinese maps - I have Baidu Map API extension
extensions.joomla.org/extensions/maps-a-...locations/maps/23946
But I don't know how many people used it. There is no any requests for improving, and therefore I didn't much develop it
I didn't read a lot of difference between this (ditu and maps) - as I understand right - the main difference - different tiles (borders) and local search.
And if you can check, for example, save page, and change API loading call to ditu.google.map, and if all will work - I can add ability to control what API (ditu or native google's) load.
By the way, as for Chinese maps - I have Baidu Map API extension
extensions.joomla.org/extensions/maps-a-...locations/maps/23946
But I don't know how many people used it. There is no any requests for improving, and therefore I didn't much develop it
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- flygo
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
11 years 3 months ago #3180
by flygo
Replied by flygo on topic How to change map.google.com to ditu.google.com
Hi Dima, thx for reply.
The main difference is so called "disputed territory", such as "Taiwan" in map.google.com, but "Chinese Taipei" for Mainland China's googlemap special version "ditu.google.com".
And I have no idea how to "change API loading call to ditu.google.map", so is there any other solution for me?
Zh BaiduMap is another GOOOOOD work, but only for joomla 3, not compatible for 2.5. SO I can't test this for my use, what a pity
The main difference is so called "disputed territory", such as "Taiwan" in map.google.com, but "Chinese Taipei" for Mainland China's googlemap special version "ditu.google.com".
And I have no idea how to "change API loading call to ditu.google.map", so is there any other solution for me?
Zh BaiduMap is another GOOOOOD work, but only for joomla 3, not compatible for 2.5. SO I can't test this for my use, what a pity
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
11 years 3 months ago #3183
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic How to change map.google.com to ditu.google.com
OK
Tomorrow I'll check to change API loading, and post there my results.
As for Zh Baidu - I think not downgrade it, because J2.5 will be stopped in development circle.
Tomorrow I'll check to change API loading, and post there my results.
As for Zh Baidu - I think not downgrade it, because J2.5 will be stopped in development circle.
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
11 years 3 months ago - 11 years 3 months ago #3185
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic How to change map.google.com to ditu.google.com
I've checked.
I can get two different maps
For getting the second (with lines and without "Taiwan" island title you need to load different map API - from ditu.google.cn , not from ditu.google.com. I mean JavaScript API, not simple site name.
And, it means - I can try to add options to change API url to load. I'll add it into component options. But you need to wait 2-3 days - I'm very busy.
I can get two different maps
For getting the second (with lines and without "Taiwan" island title you need to load different map API - from ditu.google.cn , not from ditu.google.com. I mean JavaScript API, not simple site name.
And, it means - I can try to add options to change API url to load. I'll add it into component options. But you need to wait 2-3 days - I'm very busy.
Don't forget support my developments: post review in JED , donate , help with translation
Last edit: 11 years 3 months ago by Dima.
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
11 years 3 months ago #3196
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic How to change map.google.com to ditu.google.com
Hi
I did alfa
zhuk.cc/files/com_zhgooglemap-j25-4.2.2.1-alfa.zip
Go to component options.
There is a new field "Google Maps API type"
Change to Google Ditu
And check, all will be OK.
But it is only component.
I did it for plugin and module, but I will publish on Monday (I want to do that), and will add the other feature.
And after that publish release.
I did alfa
zhuk.cc/files/com_zhgooglemap-j25-4.2.2.1-alfa.zip
Go to component options.
There is a new field "Google Maps API type"
Change to Google Ditu
And check, all will be OK.
But it is only component.
I did it for plugin and module, but I will publish on Monday (I want to do that), and will add the other feature.
And after that publish release.
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
Time to create page: 0.193 seconds