SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Aug 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with geocoder search city

    Hello everyone,
    I use google API geocoder to find places here in Canada

    In my research, I do not always get the same results
    BY example if I seek the city that London is in Canada, I receive Londopn of UK


    Here is an example of the API I speak:

    http://gmaps-samples.googlecode.com/...legeocode.html


    I wonder if there is a method to specify the country

    thank you

  2. #2
    Foozle Reducer ServerStorm's Avatar
    Join Date
    Feb 2005
    Location
    Burlington, Canada
    Posts
    2,699
    Mentioned
    89 Post(s)
    Tagged
    6 Thread(s)
    Hi I don't know the method off hand but an app that I worked on about a year ago reliably found Canadian locations. I know three were a couple of different methods/techniques to specify country.
    ictus==""

  3. #3
    SitePoint Member
    Join Date
    Aug 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by ServerStorm View Post
    Hi I don't know the method off hand but an app that I worked on about a year ago reliably found Canadian locations. I know three were a couple of different methods/techniques to specify country.


    In my research we can use:
    LatLngBounds
    or define:
    The Latitude and Longitude of Canada is 60 00 N and 95 00 W.
    but I can find no solution yet


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •