Commit d81d1276 authored by Manggar Mahardhika's avatar Manggar Mahardhika

push +fungsi kecamatan blomberes

parent 19bec183
...@@ -75,7 +75,7 @@ urlpatterns = [ ...@@ -75,7 +75,7 @@ urlpatterns = [
path('create-point', views.createpoint, name='create-point'), path('create-point', views.createpoint, name='create-point'),
path('c_lahan', views.createlahan, name='c_lahan'), path('c_lahan', views.createlahan, name='c_lahan'),
path('edit-tuplah', login_required(views.edittuplah), name='edit-tuplah'), path('edit-tuplah', views.edittuplah, name='edit-tuplah'),
path('edit-tuplah-valid', views.edittuplahvalid, name='edit-tuplah-valid'), path('edit-tuplah-valid', views.edittuplahvalid, name='edit-tuplah-valid'),
path('edit-jalan', views.editjalan, name='edit-jalan'), path('edit-jalan', views.editjalan, name='edit-jalan'),
......
This diff is collapsed.
...@@ -97,7 +97,7 @@ var request = new XMLHttpRequest(); ...@@ -97,7 +97,7 @@ var request = new XMLHttpRequest();
request.open("GET", "../static/batas.json", false); request.open("GET", "../static/batas.json", false);
request.send(null) request.send(null)
var batas = JSON.parse(request.responseText); var batas = JSON.parse(request.responseText);
console.log(batas); // console.log(batas);
var geo_batas = L.geoJson(batas, { var geo_batas = L.geoJson(batas, {
style: function(feature) { style: function(feature) {
...@@ -569,6 +569,12 @@ $("#id_kab").change(function() { ...@@ -569,6 +569,12 @@ $("#id_kab").change(function() {
// }); // });
$.ajaxSetup({
headers: {
'Csrf-Token': $('meta[name="csrf-token"]').attr('content')
}
});
jQuery(document).ajaxSend(function(event, xhr, settings) { jQuery(document).ajaxSend(function(event, xhr, settings) {
function getCookie(name) { function getCookie(name) {
var cookieValue = null; var cookieValue = null;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
...@@ -390,7 +390,7 @@ ...@@ -390,7 +390,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div> <div>
<div> <div>
<span>Kode Desa</span> <span>Kode</span>
</div> </div>
<div> <div>
<span class="kode_kelurahan">1234</span> <span class="kode_kelurahan">1234</span>
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script> <script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
<!-- <script src="https://cesium.com/downloads/cesiumjs/releases/1.78/Build/Cesium/Cesium.js"></script> --> <!-- <script src="https://cesium.com/downloads/cesiumjs/releases/1.78/Build/Cesium/Cesium.js"></script> -->
<!-- <script src="/static/Cesium-185/Build/Cesium/Cesium.js"></script> --> <script src="/static/Cesium-185/Build/Cesium/Cesium.js"></script>
<link href="{% static 'css/widgets.css' %}" rel="stylesheet"> <link href="{% static 'css/widgets.css' %}" rel="stylesheet">
<link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.4.1/dist/MarkerCluster.css"> <link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.4.1/dist/MarkerCluster.css">
......
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