Try our conversational search powered by Generative AI!

Google maps api used with different language pages

Vote:
 

I have implemented a custom Google Maps store locator for our website. It reads from a db and pulls up to 20 results in a 25 miles radius. I made this a page type, and I have added this page in my english US site. When I create another language version page for this page, the map doesn't work. I enter the zipcode and it will not return results.

Is there something wrong with Google Maps API for localization or is there a conflict with EPiServer? I took a look through the documentation at Google Maps, and I have added the code "allow_bidi=true" parameter as suggested here: http://code.google.com/apis/maps/documentation/index.html#Localization.

It doesn't seem to grab the results from my db when using any other language page that is not in english US. I have built my store locator off of this: http://blog.donnfelker.com/post/HOWTO-Build-a-Store-Locator-in-ASPNET.aspx and I customized it for what I needed.

Anyone else have problems like this?

#35932
Jan 07, 2010 15:35
Vote:
 

When switching the language you also switch the locale witch might cause some formating issues against the database... you could use SQL Profiler to see what queries are executed against the database... i suppose there would be a difference if you don't get any results from from a query. 


#35964
Jan 08, 2010 14:33
Vote:
 

Thanks I will check that out.

#36054
Jan 12, 2010 16:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.