Merge pull request #1048 from sgmap/fix_1047

[fix #1047] Fix encoding problem in carto with IE
This commit is contained in:
LeSim 2017-12-06 16:22:00 +01:00 committed by GitHub
commit 3ed67b5457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,16 +133,12 @@ function get_position() {
}
function get_address_point(request) {
$.ajax({
url: '/ban/address_point?request=' + request,
dataType: 'json',
async: true
}).done(function (data) {
if (data.lat != null) {
map.setView(new L.LatLng(data.lat, data.lon), data.zoom);
//L.marker([data.lat, data.lon], {icon: icon}).addTo(map);
}
});
$.get('/ban/address_point', { request: request })
.done(function (data) {
if (data.lat !== null) {
map.setView(new L.LatLng(data.lat, data.lon), data.zoom);
}
});
}
function jsObject_to_array(qp_list) {