在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:sgruhier/jquery-addresspicker开源软件地址:https://github.com/sgruhier/jquery-addresspicker开源编程语言:CSS 100.0%开源软件介绍:jquery-addresspickerIMPORTANT: You should check out the new version based on typeahead https://github.com/sgruhier/typeahead-addresspicker. This version won't be too much updated now Thanks jQuery UI widget for selecting an address. This widget has been develop for a specific need but feel free to use it or fork the repository You can see a live demo here: http://xilinus.com/jquery-addresspicker/demos/index.html Features
Usage$('input[name="address"]' ).addresspicker(); $('input[name="address"]' ).addresspicker({componentsFilter: 'country:FR'}); Support for IE8/9You will need to use this in order to make the plugin work with IE8/9 https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest Options (with default values){
appendAddressString: "",
draggableMarker: true,
regionBias: null,
bounds: '',
componentsFilter:'',
updateCallback: null,
reverseGeocode: false,
autocomplete: 'default',
mapOptions: {
zoom: 5,
center: new google.maps.LatLng(46, 2),
scrollwheel: false,
mapTypeId: google.maps.MapTypeId.ROADMAP
},
elements: {
map: false,
lat: false,
lng: false,
street_number: false,
route: false,
locality: false,
administrative_area_level_3: false,
administrative_area_level_2: false,
administrative_area_level_1: false,
country: false,
postal_code: false,
type: false
},
autocomplete: '' // could be autocomplete: "bootstrap" to use bootstrap typeahead autocomplete instead of jQueryUI
} Credits
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论