Professional Documents
Culture Documents
Lancode
Lancode
var vung;
$("#document").ready(function () {
closer.onclick = function () {
overlay.setPosition(undefined);
closer.blur();
return false;
}
var styles = {
map.getView().fit(bounds,map.getSize());
map.getView().fit(bounds, map.getSize());
if (parts.length === 4) {
zoom = parseInt(parts[0], 10);
center = [parseFloat(parts[1]), parseFloat(parts[2])];
rotation = parseFloat(parts[3]);
}
}
//3.lấy thông tin đối tượng (chú ý chế độ bảo mật của chrome)
//bai3
}
content += "</table>";
$("#info").html(content);
//5.
//$("#info").html(content);
$("#popup-content").html(content);
overlay.setPosition(evt.coordinate);
//bai4(TT)
var vectorSource = new ol.source.Vector({
features: (new ol.format.GeoJSON()).readFeatures(n)
});
vectorLayer.setSource(vectorSource);
}
})
}
})
});