Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OKU-GIS
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhamad
OKU-GIS
Commits
b0c9d3a5
Commit
b0c9d3a5
authored
Jul 10, 2021
by
Muhamad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
555163a5
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
557 additions
and
44 deletions
+557
-44
API/__pycache__/urls.cpython-37.pyc
API/__pycache__/urls.cpython-37.pyc
+0
-0
API/__pycache__/views.cpython-37.pyc
API/__pycache__/views.cpython-37.pyc
+0
-0
API/urls.py
API/urls.py
+13
-0
API/views.py
API/views.py
+239
-1
covid19.png
covid19.png
+0
-0
static/image/kelurahan/gpu.png
static/image/kelurahan/gpu.png
+0
-0
templates/includes/js-o.html
templates/includes/js-o.html
+111
-0
templates/maps/e.html
templates/maps/e.html
+194
-43
No files found.
API/__pycache__/urls.cpython-37.pyc
View file @
b0c9d3a5
No preview for this file type
API/__pycache__/views.cpython-37.pyc
View file @
b0c9d3a5
No preview for this file type
API/urls.py
View file @
b0c9d3a5
...
...
@@ -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
API/views.py
View file @
b0c9d3a5
This diff is collapsed.
Click to expand it.
covid19.png
0 → 100644
View file @
b0c9d3a5
82.4 KB
static/image/kelurahan/gpu.png
0 → 100644
View file @
b0c9d3a5
81.9 KB
templates/includes/js-o.html
View file @
b0c9d3a5
...
...
@@ -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
templates/maps/e.html
View file @
b0c9d3a5
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment