Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New address picker based on typeahead #56

Open
sgruhier opened this issue Feb 28, 2014 · 3 comments
Open

New address picker based on typeahead #56

sgruhier opened this issue Feb 28, 2014 · 3 comments

Comments

@sgruhier
Copy link
Owner

I just wanted to share a new try of address picker based on the latest typeahead autocomplete of twitter: http://sgruhier.github.io/typeahead-addresspicker/

May the next version of this address picker :).

I used new google map API/Service too. They are much more powerful, with more parameters.

@deneuxa
Copy link
Contributor

deneuxa commented Mar 30, 2014

Yeah !! And it's work on IE 9 :)

@sgruhier
Copy link
Owner Author

I did a lot of work on the typeahead version.
Now there is draggable marker and reverse geocoding

@binny2323
Copy link

Hello,

Now, I want to localize the results. so if the user is in USA then as soon as he start typing in the field it started giving results from his location.

Ex: user is in Montclair, so when he start typing he will get address from montclair (specific to his country->region->city->street). Following is my code and snippet I am using currently. I want same like google map doing in search after allow location it's automatically return

here is js code: $(function() { var addresspickerMap = $( "#addresspicker_map" ).addresspicker({ regionBias: "us", language: "us", updateCallback: showCallback, elements: { map: "#map", lat: "#lat", lng: "#lng", street_number: '#street_number', route: '#route', locality: '#locality', sublocality: '#sublocality', administrative_area_level_3: '#administrative_area_level_3', administrative_area_level_2: '#administrative_area_level_2', administrative_area_level_1: '#administrative_area_level_1', country: '#country', postal_code: '#postal_code', type: '#type' } });

Any help will be appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants