autocomplete missing
You do not have an auto complete directive.
You can use this directive: http://plnkr.co/edit/GF3nM3XfYX9El2w11pGo?p=preview
Just need to integrate it with your map afterwards. You'd need to get the autocomplete directive to send the lat and long points and update your map center.
Also make sure to add '&libraries=places&language=en-US' to your google map api url in your index.
bastard.. your amazing
I'm hoping I don't need to use ngAutocomplete to add autocomplete options to my ui-gmap-search-box. My searchbox directive is working great but I have a scenario where I'm wanting to send the types option to autocomplete to limit to '(regions)' or '(cities)'. Is there an easy way to pass in the the types option without having to use the ngAutocomplete directive?
hi @Natas0007 The search-box directive implements google.maps.places.SearchBox.
It does support text-based geographic search. The SearchBox allows users to perform a text-based geographic search, such as 'pizza in New York' or 'shoe stores near robson street'. And you can also restrict the area of the search results by using the bounds property.
SearchBox does not support the types property of TextSearchRequest or Autocomplete. Others have asked for types property support so I could add a new directive.
@nmccready Should I hold on adding new features until the next version- or should I work on this in master?
Ok. I would much rather use your version of the directive instead of mixing in another directive such as ngAutocomplete. I will continue my current development without implementing a 'types' restriction in hopes the option will be available soon. I will without a doubt require it for production. Thanks for your time and you guys have done a fabulous job on this set of directives!!!
@kandizzy this is fine for master and roll into develop
Should have this ready within the next couple days
Schweet! Fab news! On Jan 2, 2015 3:32 PM, "Carrie Kengle" [email protected] wrote:
Should have this ready within the next couple days
— Reply to this email directly or view it on GitHub https://github.com/angular-ui/angular-google-maps/issues/304#issuecomment-68564320 .