hi Rosko, spent whole day and figured out the problem but i do not think that is going to work because i have to entirely rewrite my application or use any other better service than google map provides.
their geo coding api is very poor i think pathetic is the right word. ( strictly for india ). since my app is store locator type for displaying a map the problem is it fetches zip code in database for the corresponding listing for map centring purpose and directions now for india it is of type "110034" which correspond to china ( for google maps there can not be any other location except this) hence the problem it centers map around that. for great service like google that is a big let down in north america they show all related locations if there is confusion. i picked today local newspaper and randomly select bunch of real addresses put them in my add listing code ( geo coding) for 99% of cases they could not geocode it. this test i did on "maps.google.com" and maps.google.co.in apart from my site. which leaves very little scope for developers. this problem was on back of my mind and as per documentation i am putting region also to "in". looks like lot of work for me. developing map app for india using google maps since their own map sites do not understand 99% of addresses of capital of india rest you can guess. way forward is writing new control using other provider because when their main sites do not understand a address how can a developer do it depending on the same service. the same app work for canada and usa. regards, navdeep lohchubh On Feb 4, 4:57 pm, Rossko <[email protected]> wrote: > > yes i am finding lat/long from where the user puts its locations then > > a stored procedure looks in database and return a list of matches . > > I know. You already know the lat/long of all the 'garage'. That part > works. > > > out of various locations find each has a link to show map and driving > > directions. > > Yes. That part goes wrong for 'Andy Auto Centre' and shows a town in > China. That's why I'm asking what happens at that stage. I *think* > you are geocoding part of the garage address and that goes wrong. But > you won't tell me if that is what your server-side is code is doing. > > > few things i noticed are earth radius if i change it to various values > > depending upon how earth is considered sphere or eliptical.. > > Why are you messing with that? > > > the problem here could be many but first google does not have a proper > > map for india or it pretend to be. > > What do you mean? You don't like the pictures? > > > there could be many reasons so it is trial and error fix situation > > now. > > No, it's not trial and error. That's a lack of understanding of your > "own code". -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
