|
@@ -472,7 +472,11 @@
|
|
|
|
|
|
$(document).on('click','.poibox',function (){
|
|
|
var click_poi = $(".poibox").index(this);
|
|
|
- console.log(click_poi,sel_list[click_poi]);
|
|
|
+ console.log(click_poi,sel_list[click_poi].location.lat);
|
|
|
+ $("#longitude").value(sel_list[click_poi].location.lng);
|
|
|
+ $("#latitude").value(sel_list[click_poi].location.lat);
|
|
|
+ $("#lnglat").value(sel_list[click_poi].location.lng + ',' + sel_list[click_poi].location.lat ) ;
|
|
|
+
|
|
|
})
|
|
|
|
|
|
$("input[name='address']").on('change',function (e) {
|