jquery-addresspicker icon indicating copy to clipboard operation
jquery-addresspicker copied to clipboard

New address picker based on typeahead

Open sgruhier opened this issue 10 years ago • 3 comments

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.

sgruhier avatar Feb 28 '14 16:02 sgruhier

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

deneuxa avatar Mar 30 '14 09:03 deneuxa

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

sgruhier avatar Apr 16 '14 13:04 sgruhier

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 :)

binny2323 avatar Mar 23 '17 08:03 binny2323