Commit 4307a24b authored by Manggar Mahardhika's avatar Manggar Mahardhika

push apex + cesium on trigger

parent 23cae4a3
This diff is collapsed.
......@@ -2,7 +2,7 @@ var map = L.map('map', { editable: true, zoomControl: false, drawControl: true }
var pool = [];
// var BaseMap = document.getElementById("BaseMap");
var BaseMap = document.getElementById("BaseMap");
var OpenStreetMap = document.getElementById("OpenStreetMap");
var WorldImagery = document.getElementById("WorldImagery");
var BingSatellite = document.getElementById("BingSatellite");
......@@ -834,4 +834,4 @@ $("#id_kec").change(function() {
$(document).on('click', 'li', function() {
$('#provinsi').val($(this).text());
$('#provinsiList').fadeOut();
});
\ No newline at end of file
});
This diff is collapsed.
......@@ -859,6 +859,8 @@
var checkBox = document.getElementById("batas_desa");
if (checkBox.checked == true) {
// loaderPage(true);
$('#scrapex').append(`<script id="idscrapexmin" type="text/javascript " src="{% static 'js/apexcharts.min.js' %}"><\/script>`);
$('#scrapex').append(`<script id="idscrapex" type="text/javascript " src="{% static 'js/apexcharts.js' %}"><\/script>`);
if (map.hasLayer(geo_batas_kel)) {
geo_batas_kel.clearLayers()
geo_batas_kel.remove()
......@@ -884,6 +886,8 @@
});
geo_batas_kel.addTo(map)
} else {
$('#scrapex').remove();
$('#scrapex').remove();
geo_batas_kel.clearLayers()
geo_batas_kel.remove()
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment