1

I'm using geocomplete (a jQuery Geocoding and Places Autocomplete Plugin).

What's the best way to do a nearby search? (e.g. search for addresses in a city)

I know this can be done by specifying the 'location' or the 'bounds' for a map, e.g.

 $(function(){    
    $("#geocomplete_user").geocomplete({
        map: ".map_canvas",
        details: ".details",
        detailsAttribute: "geo",
        types: ["geocode"],
        location: [-37.817792, 144.96722899999997]
    });
})

...but I don't want to use a map. I just want to have a drop-down menu.

John Slegers
  • 45,213
  • 22
  • 199
  • 169
user3711600
  • 853
  • 3
  • 12
  • 27

0 Answers0