View previous topic :: View next topic |
Author |
Message |
Exitium Smarty Rookie
Joined: 23 Mar 2006 Posts: 12
|
Posted: Thu Jul 12, 2007 8:52 pm Post subject: [google map api] Non US maps/language question |
|
|
Ive been using googlemapapi with great success for US based locations. However, when I try to use the dutch language and find a place in the netherlands it doesnt work. Does the API support international maps with different language input?
If so, is there something in the API I need to change?
Any help greatly appreciated and thanks for your time. |
|
Back to top |
|
Exitium Smarty Rookie
Joined: 23 Mar 2006 Posts: 12
|
Posted: Thu Aug 09, 2007 1:37 pm Post subject: |
|
|
wow, over 500 views and no ideas. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Aug 09, 2007 1:41 pm Post subject: |
|
|
It uses the Google geocode API to lookup the geocodes, so if that doesn't work, then that is why. You might try changing the server being used for the lookups to www.google.nl? I haven't tried this. |
|
Back to top |
|
Exitium Smarty Rookie
Joined: 23 Mar 2006 Posts: 12
|
Posted: Thu Aug 16, 2007 6:44 pm Post subject: |
|
|
Thanks Monte. I changed what I thought was the server it was using to www.google.nl but when I looked at the output it was still google.com. I didnt see anywhere else in the API to change it. Do have have a line number in the API where it would be changed?
Thanks. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Thu Aug 16, 2007 7:19 pm Post subject: |
|
|
Code: | $map->lookup_server['GOOGLE'] = 'maps.google.nl'; |
Try that setting. IF you don't see $lookup_server as a property in the class, you might need a newer version, or possibly CVS. |
|
Back to top |
|
Exitium Smarty Rookie
Joined: 23 Mar 2006 Posts: 12
|
Posted: Fri Aug 17, 2007 4:06 pm Post subject: |
|
|
mohrt wrote: | Code: | $map->lookup_server['GOOGLE'] = 'maps.google.nl'; |
Try that setting. IF you don't see $lookup_server as a property in the class, you might need a newer version, or possibly CVS. |
Thank you. I didnt notice the option in the api docs for the version I have, perhaps thats the problem. |
|
Back to top |
|
nlstart Smarty Rookie
Joined: 19 Oct 2007 Posts: 8
|
Posted: Tue Oct 23, 2007 1:24 pm Post subject: Dutch map failure |
|
|
The failure to lookup the dutch map is probably due to your local number settings on the website you use. See my forum thread:
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=12072
If you download the CVS version it should be fixed. |
|
Back to top |
|
|