1

Using the Geocomplete Jquery Plugin for Google Maps (http://ubilabs.github.io/geocomplete/) I can successfully search for addresses in the Google Places API. However, does anyone know if it is possible to search for a named placed such as “Madison Square Garden” or “Wells Fargo Center”?

John Slegers
  • 45,213
  • 22
  • 199
  • 169
noahdotgansallo
  • 763
  • 1
  • 6
  • 15
  • Those are "places", not addresses (the Geocoder resolves addresses). You would find them with the [Google Maps Places API](https://developers.google.com/places/webservice/) – geocodezip Jul 24 '15 at 20:10

2 Answers2

2

Set the types: to ['geocode','establishment'] in defaults of jquery.geocomplete.js

anumit
  • 21
  • 4
1

For rails geocode, the code would be this:

<script>
  $(".geocomplete").geocomplete({
    types: ['geocode','establishment']
  });
</script>
gitastic
  • 516
  • 7
  • 26