Thanks Barry. It's a good idea :) On 9 mai, 13:44, Barry Hunter <[email protected]> wrote: > You can also just add ", FR" to your search string, which is probably > closer to what you want to do. That makes an even stronger suggestion > to only search in France. > > (but you should also check if the user hasnt already added France to > the search string. > eg as a regular expressions, > > if (locstring.search(/,\s*FR(ance|)\s*$/i) == -1) { > locstring+= locstring + ", FR"; > > } > > ) > > On 09/05/2009, Barry Hunter <[email protected]> wrote: > > > > > You can't explicitly say only France, but can use this: > > > http://code.google.com/apis/maps/documentation/reference.html#GClient... > > > to heavily bias the results. > > > On 09/05/2009, Seb <[email protected]> wrote: > > > > Hello, > > > > I used "GClientGeocoder.getLatLng" for search the point from a > > > address. > > > > It works very well, but GMaps search in the world. I would like to > > > search on a predefined area (only in France for example) > > > > Have you a idea ? > > > > Thanks. > > > > Seb. > > > -- > > Barry > > > -www.nearby.org.uk-www.geograph.org.uk- > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk-
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
