Commit b5d5df4a authored by Muhamad's avatar Muhamad

modal kanan

parent ff70b342
...@@ -3274,14 +3274,14 @@ ...@@ -3274,14 +3274,14 @@
// map.on('zoomend', function() { // map.on('zoomend', function() {
// var zoom = map.getZoom(); // var zoom = map.getZoom();
// console.log(zoom) // console.log(zoom)
// if (map.hasLayer(geo_po_cagar_budaya)) { // if (map.hasLayer(geo_po_cagar_budaya)) {
// geo_po_cagar_budaya.eachLayer(function(layer) { // geo_po_cagar_budaya.eachLayer(function(layer) {
// if (zoom >= 10 && (!layer.getTooltip())) { // if (zoom >= 10 && (!layer.getTooltip())) {
// conten = ` // conten = `
// <div id="bottom-justified-data" style="text-align: center;"> // <div id="bottom-justified-data" style="text-align: center;">
// <div > // <div >
// <img src="static/img/image/` + layer.feature.administrasi.f4 + `" alt="Image" style="width: 150px!important;height: 125px;"> // <img src="static/img/image/` + layer.feature.administrasi.f4 + `" alt="Image" style="width: 150px!important;height: 125px;">
...@@ -3324,7 +3324,7 @@ ...@@ -3324,7 +3324,7 @@
// var gmb = layer.feature.administrasi.f8; // var gmb = layer.feature.administrasi.f8;
// } // }
// conten = ` // conten = `
// <div id="bottom-justified-data" style="text-align: center;"> // <div id="bottom-justified-data" style="text-align: center;">
// <div > // <div >
// <img src="static/img/image/` + gmb + `" alt="Image" style="width: 150px!important;height: 125px;"> // <img src="static/img/image/` + gmb + `" alt="Image" style="width: 150px!important;height: 125px;">
...@@ -3367,7 +3367,7 @@ ...@@ -3367,7 +3367,7 @@
// var gmb = layer.feature.administrasi.f8; // var gmb = layer.feature.administrasi.f8;
// } // }
// conten = ` // conten = `
// <div id="bottom-justified-data" style="text-align: center;"> // <div id="bottom-justified-data" style="text-align: center;">
// <div > // <div >
// <img src="static/img/image/` + gmb + `" alt="Image" style="width: 150px!important;height: 125px;"> // <img src="static/img/image/` + gmb + `" alt="Image" style="width: 150px!important;height: 125px;">
...@@ -3409,7 +3409,7 @@ ...@@ -3409,7 +3409,7 @@
// var gmb = layer.feature.administrasi.f8; // var gmb = layer.feature.administrasi.f8;
// } // }
// conten = ` // conten = `
// <div id="bottom-justified-data" style="text-align: center;"> // <div id="bottom-justified-data" style="text-align: center;">
// <div > // <div >
// <img src="static/img/image/` + gmb + `" alt="Image" style="width: 150px!important;height: 125px;"> // <img src="static/img/image/` + gmb + `" alt="Image" style="width: 150px!important;height: 125px;">
...@@ -3834,7 +3834,7 @@ ...@@ -3834,7 +3834,7 @@
var polygonDraweredit = new L.Draw.Polygon(map_create_all, polygon_options); var polygonDraweredit = new L.Draw.Polygon(map_create_all, polygon_options);
map_create_all.on("click", function(event) { polygonDraweredit.on("click", function(event) {
shapecoords.innerHTML = event.latlng.toString(); shapecoords.innerHTML = event.latlng.toString();
map_create_all.fire("click", event); // Trigger a map click as well. map_create_all.fire("click", event); // Trigger a map click as well.
}); });
......
...@@ -573,7 +573,7 @@ ...@@ -573,7 +573,7 @@
<div class="modal fade" id="modal_option_create" tabindex="-1" role="dialog"> <div class="modal fade" id="modal_option_create" tabindex="-1" role="dialog">
<div class="modal-dialog modal-xs" style="width: 350px;"> <div class="modal-dialog modal-xs" style="width: 450px;">
<div class="modal-content"> <div class="modal-content">
<div class="modal-header"> <div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
...@@ -622,6 +622,28 @@ ...@@ -622,6 +622,28 @@
</div> </div>
</a> </a>
</div> </div>
<div class="col-md-4 text-center">
<a href="#" class="btn btn_create_lahan">
<div>
<img src="{% static 'img/icon-1/Vectorpoint.svg' %}" alt="" style="width: 35px;
height: 35px;">
</div>
<div style="margin-top: 10px;">
<span>Lahan</span>
</div>
</a>
</div>
<div class="col-md-4 text-center">
<a href="#" class="btn btn_cek_KDBKLB">
<div>
<img src="{% static 'img/icon-1/Vectorpoint.svg' %}" alt="" style="width: 35px;
height: 35px;">
</div>
<div style="margin-top: 10px;">
<span>KDB & KLB</span>
</div>
</a>
</div>
</div> </div>
</fieldset> </fieldset>
......
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