On Apr 1, 9:31 pm, Sasa <[email protected]> wrote: > Maybe I'm doing something wrong, but I'm only getting one placemark > when using the getLocations function with the string "burlington". I'm > getting the one in USA. I'm pretty sure there is at least one more in > Canada (I live there). > > If you type "burlington" you will get the USA place, you may type > "burlington, ON" to see the Canadian place. > > Shouldn't the API return both results?
It does what it does. The geocoder has a mind of its own, really. All the places it knows about are weighted, and only those it thinks need be shown are returned. If you just ask for "Burlington", it only shows the one which eclipses everything else. -- You received this message because you are subscribed to the Google Groups "Google Maps API" 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.
