Open flyingboy007 opened 8 years ago
This is my question too! +1
I believe you can create the custom directive for that. I just did that. Used SDK from Google API in config and then made a directive for location autocomplete.
@jayeshanandani yes thats possible and instead of creating it myself I used ngautocomplete..But thought this have it built in..
Why don't you @flyingboy007 try using the places library http://maps.googleapis.com/maps/api/js?libraries=places
More info https://developers.google.com/maps/documentation/javascript/places
This has been asked a few times before, but it is not currently supported. If anyone wants to take this on that would great! It is unlikely the current team will be able to add this capability any time soon.
I have a search field that wont use the map.
html
<input type="text" ui-gmap-search-box ng-model="GeneralFactory.Location" events="searchbox.events" placeholder="Location" class="form-control input-lg">
app.js
All I want is an autocompletion of location. But this throws following error
I think this is because I havent put searchbox inside the map. As I dont want to use the map what can I do here?