Commit b0c9d3a5 authored by Muhamad's avatar Muhamad

update

parent 555163a5
......@@ -17,4 +17,17 @@ urlpatterns = [
path('editkependudukan/', views.editkependudukan, name='kependudukan'),
path('edit-point-rumahsakit', views.editrumahsakit, name='rumahsakit'),
path('edit-point-cagarbudaya', views.editcagarbudaya, name='cagarbudaya'),
path('edit-point-kantor', views.editkantoradmin, name='kantor'),
path('edit-point-puskesmas', views.editpuskesmas, name='puskesmas'),
path('edit-point-ibadah', views.editibadah, name='ibadah'),
path('edit-point-sekolah', views.editsekolah, name='sekolah'),
path('edit-point-spbu', views.editspbu, name='spbu'),
path('edit-point-stasiun', views.editstasiun, name='stasiun'),
path('edit-point-terminal', views.editterminal, name='terminal'),
path('edit-tuplah', views.edittuplah, name='tuplah'),
path('cobsgambar', views.cobagam, name="coba"),
]
\ No newline at end of file
This diff is collapsed.
covid19.png

82.4 KB

......@@ -1157,6 +1157,8 @@
geo_jalan.addData(data)
}
function geojalan() {
var checkBox = document.getElementById("geo_jalan");
if (checkBox.checked == true) {
......@@ -1320,4 +1322,113 @@
}
});
});
//var firstpolyline = new L.Polyline([
// [107.531894, -6.8864525],
// [107.5319128, -6.8864465],
// [107.5321258, -6.8862753]
//], onEachFeature: function(feature, layer) {
// layer.on({
// click: function(e) {
// content = `
// <table class="table table-hover tasks-list">
// <tbody>
// <div class= "container">
// <tr style="height: 100px;">
// <th>
// <div>
// <h1 style="font-family: Google Sans,Roboto,Arial,sans-serif;
// letter-spacing: 0;
// font-weight: 400;">
// <span style="font-size: x-large;">
// ` + feature.administrasi.f1 + `
// </span>
// </h1>
// </div>
// </th>
// </tr>
// </div>
// </tbody>
// </table>`;
// $("#panel-samping").css("display", "block");
// $("#button_hide_panel").css("display", "block")
// $("#thisFooter").css('left', '380px');
// $("#thisFooter").css('width', '930px');
// $("#thisFooter").css('display', 'none');
// $("#button_unhide").css('display', 'block')
// $("#isi_panel").html(content)
// $()
// }
// })
//});
//firstpolyline.addTo(map);
//})
//
//var geo_po_coba = L.geoJson(null, {
// pointToLayer: function(feature, latlng) {
// var smallIcon = new L.Icon({
// iconSize: [25, 25],
// iconAnchor: [13, 27],
// popupAnchor: [1, -24],
// iconUrl: 'static/img/icon/rs.svg',
// shadowUrl: 'static/img/icon/shadow.svg',
// shadowSize: [35, 35],
// shadowAnchor: [19, 31]
// });
// var marker = L.marker(latlng, {
// icon: smallIcon
// });
// marker.bindTooltip(feature.administrasi.f1, {
// permanent: false,
// className: "my-label",
// offset: [0, 0]
// });
// return marker
// },
// onEachFeature: function(feature, layer) {
// layer.on({
// click: function(e) {
// content = `
// <table class="table table-hover tasks-list">
// <tbody>
// <div class= "container">
// <tr style="height: 100px;">
// <th>
// <div>
// <h1 style="font-family: Google Sans,Roboto,Arial,sans-serif;
// letter-spacing: 0;
// font-weight: 400;">
// <span style="font-size: x-large;">
// ` + feature.administrasi.f1 + `
// </span>
// </h1>
// </div>
// </th>
// </tr>
// </div>
// </tbody>
// </table>`;
// $("#panel-samping").css("display", "block");
// $("#button_hide_panel").css("display", "block")
// $("#thisFooter").css('left', '380px');
// $("#thisFooter").css('width', '930px');
// $("#thisFooter").css('display', 'none');
// $("#button_unhide").css('display', 'block')
// $("#isi_panel").html(content)
// $()
// }
// })
// }
//});
//
//function geo_json_po_rumah_sakit(data) {
// geo_po_coba.addData(data)
//}
//
//geo_json_po_rumah_sakit(result_rumah_sakit);
</script>
\ No newline at end of file
This diff is collapsed.
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