-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1857 lines (1820 loc) · 82.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="css/leaflet.css"><link rel="stylesheet" href="css/L.Control.Locate.min.css">
<link rel="stylesheet" href="css/qgis2web.css"><link rel="stylesheet" href="css/fontawesome-all.min.css">
<link rel="stylesheet" href="css/leaflet-control-geocoder.Geocoder.css">
<link rel="stylesheet" href="css/leaflet-measure.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<style>
html, body, #map {
width: auto;
height: 680px;
padding: 0;
margin: 0;
}
<style>
html, body, #map {
width: auto;
height: 680px;
padding: 0;
margin: 0;
}
</style>
<style>
.row.content {
width: auto;
height: 680px;
}
.sidenav {
background-color: #d3d3d3;
height: 100%;
}
footer {
background-color: #333333;
color: white;
padding: 10px;
text-align: center;
}
@media screen and (max-width: 767px) {
.sidenav {
height: auto;
padding: 15px;
}
.row.content {
height: auto;
background-color: #d3d3d3;
}
}
</style>
</style>
<title>PERSEBARAN RUMAH SAKIT PROVINSI SUMATERA UTARA</title>
</head>
<body>
<body>
<div style ="background-color: rgb(115, 50, 18);">
<h1 style="color:white; Text-align:center;"><br>Persebaran Rumah Sakit di Provinsi Sumatera Utara</h1>
<ul style="background-color: #333333;color:rgb(255, 255, 255);">
<li><br>Yang akan ditampilkan pada peta dibawah ini adalah tampilan dari titik - titik pesebaran Rumah Sakit yang ada pada ada di
Provinsi Sumatera Utara<br><br></li>
</ul>
<div style ="background-color: rgb(18, 115, 29);"></div>
<h1 style="color:white; Text-align:center;">Rumah Sakit di Sumatera Utara.</h1>
<h2 style="color:white; Text-align:left;">Rumah Sakit Pertama.</h2>
<p style="color:white; text-align:justify;">Bangunan Rumah Sakit Tembakau Deli yang merupakan Rumah Sakit modern pertama di Pulau Sumatera saat zaman Hindia Belanda.
Dalam hal ini, Badan Warisan Sumatera, Ibu Isnen mengatakan bahwa Rumah Sakit (RS) Tembakau Deli yang terletak di Jalan Putri Hijau, Kelurahan Kesawan, Kota Medan di bangun pada tahun 1885. Pembangunan RS tersebut dibangun sejalan dengan pengembangan Kota Medan sebagai Pusat Industri Perkebunan.
Rumah Sakit tersebut merupakan RS yang melayani buruh-buruh Perkebunan dan Buruh-buruh dari Eropa pada masa Hindia Belanda. Kemudian, RS ini diperkarsai ole Mr. Ingermann yang menjabat sebagai General Manager di Perusahaan Deli Maatschappaij dan Perusahaan ini merupakan Perusahaan Tembakau pertama.
Awalnya Rumah Sakit Tembakau Deli hanya menangani pasien yang berpenyakit ringan. Pada tahun 1901, kembali dibangun satu gedung besar untuk pasien penderita penyakit parah. Kemudian pada tahun 1915 Rumah Sakit Deli Maatschappaij ditetapkan sebagai rumah sakit laboratorium penyakit tropis.
Pada perkembangannya rumah sakit Deli Maatschappaij berubah nama menjadi Rumah Sakit Tembakau Deli yang berada dibawah naungan PTPN II (Persero). Seiring perkembangan waktu, pada tahun 2011 Rumah Sakit Tembakau Deli tersebut berhenti beroperasi dan ditetapkan sebagai Cagar Budaya oleh Pemerintah Kota Medan.. </p>
</P>
</div>
</div>
<div class="container-fluid">
<div class="row content">
<div class="col-sm-3 sidenav">
<h4 style="text-align: center;"><b>Peta Persebaran Rumah Sakit di Provinsi Sumatera Utara</b></h4>
<img src="compass-rose-gb310c32a2_1280.png" style="display: block; margin-left: auto; margin-right: auto;" width="100" height="100">
<hr>
<h5 style="text-align: center;"><b>Data Peta Ini Diambil Dari Indonesia Geospasial</b></h5>
<hr>
<h4 style="text-align: center; text-decoration: underline; padding-bottom: 8px;"><b>Dibuat Oleh:</b></h4>
<h5 style="text-align: center;">Rae Geoffrey Bangun<br>20/457290/SV/17737</h5>
<hr>
<h4 style="text-align: center; text-decoration: underline; padding-bottom: 8px;"><b>Dosen Pengampu:</b></h4>
<h5 style="text-align: center;">Hidayat Panuntun, ST, M.Eng., D.Sc</h5>
<hr>
<img src="ugm logo.png" style="display: block; margin-left: auto; margin-right: auto;" width="100" height="100">
<h6 style="text-align: center;"><b>Sarjana Terapan Teknologi Survei Dan Pemetaan Dasar<br>Departemen Teknologi Kebumian<br>Universitas Gadjah Mada<br>2022</b></h6>
<div class="input-group">
</div>
</div>
<div class="col-sm-9">
<div id="map">
</div>
<script src="js/qgis2web_expressions.js"></script>
<script src="js/leaflet.js"></script><script src="js/L.Control.Locate.min.js"></script>
<script src="js/leaflet.rotatedMarker.js"></script>
<script src="js/leaflet.pattern.js"></script>
<script src="js/leaflet-hash.js"></script>
<script src="js/Autolinker.min.js"></script>
<script src="js/rbush.min.js"></script>
<script src="js/labelgun.min.js"></script>
<script src="js/labels.js"></script>
<script src="js/leaflet-control-geocoder.Geocoder.js"></script>
<script src="js/leaflet-measure.js"></script>
<script src="data/batas_administrasi_kabupaten_kota_polygon_120020180327153112_1.js"></script>
<script src="data/LABUHANBATU_2.js"></script>
<script src="data/LABUHANBATU_SELATAN_3.js"></script>
<script src="data/LABUHANBATU_UTARA_4.js"></script>
<script src="data/LANGKAT_5.js"></script>
<script src="data/Rumahsakit_kab_asahan_6.js"></script>
<script src="data/Rumahsakit_kab_batubara_7.js"></script>
<script src="data/Rumahsakit_kab_binjai_8.js"></script>
<script src="data/Rumahsakit_kab_dairi_9.js"></script>
<script src="data/Rumahsakit_kab_deliserdang_10.js"></script>
<script src="data/KepulauanNias_11.js"></script>
<script src="data/PhakPhakBarat_12.js"></script>
<script src="data/kota_medan_13.js"></script>
<script src="data/tebing_tinggi_14.js"></script>
<script src="data/samosir_15.js"></script>
<script src="data/serdangbedagai_16.js"></script>
<script src="data/sibolga_17.js"></script>
<script src="data/simalungun_18.js"></script>
<script src="data/tanjungbalai_19.js"></script>
<script src="data/tapanuli_selatan_20.js"></script>
<script src="data/tapanuli_tengah_21.js"></script>
<script src="data/tapanuli_utara_22.js"></script>
<script src="data/Tobasamosir_23.js"></script>
<script src="data/Padangalawas_utara_24.js"></script>
<script src="data/Padanglawas_25.js"></script>
<script src="data/Padangsidimpuan_26.js"></script>
<script src="data/Rumahsakit_kab_karo_27.js"></script>
<script>
var highlightLayer;
function highlightFeature(e) {
highlightLayer = e.target;
if (e.target.feature.geometry.type === 'LineString') {
highlightLayer.setStyle({
color: '#ffff00',
});
} else {
highlightLayer.setStyle({
fillColor: '#ffff00',
fillOpacity: 1
});
}
highlightLayer.openPopup();
}
var map = L.map('map', {
zoomControl:true, maxZoom:28, minZoom:1
})
var hash = new L.Hash(map);
map.attributionControl.setPrefix('<a href="https://github.com/tomchadwin/qgis2web" target="_blank">qgis2web</a> · <a href="https://leafletjs.com" title="A JS library for interactive maps">Leaflet</a> · <a href="https://qgis.org">QGIS</a>');
var autolinker = new Autolinker({truncate: {length: 30, location: 'smart'}});
L.control.locate({locateOptions: {maxZoom: 19}}).addTo(map);
var measureControl = new L.Control.Measure({
position: 'topleft',
primaryLengthUnit: 'meters',
secondaryLengthUnit: 'kilometers',
primaryAreaUnit: 'sqmeters',
secondaryAreaUnit: 'hectares'
});
measureControl.addTo(map);
document.getElementsByClassName('leaflet-control-measure-toggle')[0]
.innerHTML = '';
document.getElementsByClassName('leaflet-control-measure-toggle')[0]
.className += ' fas fa-ruler';
var bounds_group = new L.featureGroup([]);
function setBounds() {
if (bounds_group.getLayers().length) {
map.fitBounds(bounds_group.getBounds());
}
}
map.createPane('pane_OpenStreetMap_0');
map.getPane('pane_OpenStreetMap_0').style.zIndex = 400;
var layer_OpenStreetMap_0 = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
pane: 'pane_OpenStreetMap_0',
opacity: 1.0,
attribution: '',
minZoom: 1,
maxZoom: 28,
minNativeZoom: 0,
maxNativeZoom: 19
});
layer_OpenStreetMap_0;
map.addLayer(layer_OpenStreetMap_0);
function pop_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2">' + (feature.properties['id'] !== null ? autolinker.link(feature.properties['id'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['kabupaten'] !== null ? autolinker.link(feature.properties['kabupaten'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['provinsi'] !== null ? autolinker.link(feature.properties['provinsi'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2">' + (feature.properties['luas'] !== null ? autolinker.link(feature.properties['luas'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1_0() {
return {
pane: 'pane_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1',
opacity: 1,
color: 'rgba(35,35,35,1.0)',
dashArray: '',
lineCap: 'butt',
lineJoin: 'miter',
weight: 1.0,
fill: true,
fillOpacity: 1,
fillColor: 'rgba(205,252,246,1.0)',
interactive: false,
}
}
map.createPane('pane_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1');
map.getPane('pane_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1').style.zIndex = 401;
map.getPane('pane_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1').style['mix-blend-mode'] = 'normal';
var layer_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1 = new L.geoJson(json_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1, {
attribution: '',
interactive: false,
dataVar: 'json_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1',
layerName: 'layer_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1',
pane: 'pane_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1',
onEachFeature: pop_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1,
style: style_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1_0,
});
bounds_group.addLayer(layer_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1);
map.addLayer(layer_batas_administrasi_kabupaten_kota_polygon_120020180327153112_1);
function pop_LABUHANBATU_2(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_LABUHANBATU_2_0() {
return {
pane: 'pane_LABUHANBATU_2',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_LABUHANBATU_2');
map.getPane('pane_LABUHANBATU_2').style.zIndex = 402;
map.getPane('pane_LABUHANBATU_2').style['mix-blend-mode'] = 'normal';
var layer_LABUHANBATU_2 = new L.geoJson(json_LABUHANBATU_2, {
attribution: '',
interactive: true,
dataVar: 'json_LABUHANBATU_2',
layerName: 'layer_LABUHANBATU_2',
pane: 'pane_LABUHANBATU_2',
onEachFeature: pop_LABUHANBATU_2,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_LABUHANBATU_2_0(feature));
},
});
bounds_group.addLayer(layer_LABUHANBATU_2);
map.addLayer(layer_LABUHANBATU_2);
function pop_LABUHANBATU_SELATAN_3(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_LABUHANBATU_SELATAN_3_0() {
return {
pane: 'pane_LABUHANBATU_SELATAN_3',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_LABUHANBATU_SELATAN_3');
map.getPane('pane_LABUHANBATU_SELATAN_3').style.zIndex = 403;
map.getPane('pane_LABUHANBATU_SELATAN_3').style['mix-blend-mode'] = 'normal';
var layer_LABUHANBATU_SELATAN_3 = new L.geoJson(json_LABUHANBATU_SELATAN_3, {
attribution: '',
interactive: true,
dataVar: 'json_LABUHANBATU_SELATAN_3',
layerName: 'layer_LABUHANBATU_SELATAN_3',
pane: 'pane_LABUHANBATU_SELATAN_3',
onEachFeature: pop_LABUHANBATU_SELATAN_3,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_LABUHANBATU_SELATAN_3_0(feature));
},
});
bounds_group.addLayer(layer_LABUHANBATU_SELATAN_3);
map.addLayer(layer_LABUHANBATU_SELATAN_3);
function pop_LABUHANBATU_UTARA_4(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_LABUHANBATU_UTARA_4_0() {
return {
pane: 'pane_LABUHANBATU_UTARA_4',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_LABUHANBATU_UTARA_4');
map.getPane('pane_LABUHANBATU_UTARA_4').style.zIndex = 404;
map.getPane('pane_LABUHANBATU_UTARA_4').style['mix-blend-mode'] = 'normal';
var layer_LABUHANBATU_UTARA_4 = new L.geoJson(json_LABUHANBATU_UTARA_4, {
attribution: '',
interactive: true,
dataVar: 'json_LABUHANBATU_UTARA_4',
layerName: 'layer_LABUHANBATU_UTARA_4',
pane: 'pane_LABUHANBATU_UTARA_4',
onEachFeature: pop_LABUHANBATU_UTARA_4,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_LABUHANBATU_UTARA_4_0(feature));
},
});
bounds_group.addLayer(layer_LABUHANBATU_UTARA_4);
map.addLayer(layer_LABUHANBATU_UTARA_4);
function pop_LANGKAT_5(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_LANGKAT_5_0() {
return {
pane: 'pane_LANGKAT_5',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_LANGKAT_5');
map.getPane('pane_LANGKAT_5').style.zIndex = 405;
map.getPane('pane_LANGKAT_5').style['mix-blend-mode'] = 'normal';
var layer_LANGKAT_5 = new L.geoJson(json_LANGKAT_5, {
attribution: '',
interactive: true,
dataVar: 'json_LANGKAT_5',
layerName: 'layer_LANGKAT_5',
pane: 'pane_LANGKAT_5',
onEachFeature: pop_LANGKAT_5,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_LANGKAT_5_0(feature));
},
});
bounds_group.addLayer(layer_LANGKAT_5);
map.addLayer(layer_LANGKAT_5);
function pop_Rumahsakit_kab_asahan_6(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_Rumahsakit_kab_asahan_6_0() {
return {
pane: 'pane_Rumahsakit_kab_asahan_6',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_Rumahsakit_kab_asahan_6');
map.getPane('pane_Rumahsakit_kab_asahan_6').style.zIndex = 406;
map.getPane('pane_Rumahsakit_kab_asahan_6').style['mix-blend-mode'] = 'normal';
var layer_Rumahsakit_kab_asahan_6 = new L.geoJson(json_Rumahsakit_kab_asahan_6, {
attribution: '',
interactive: true,
dataVar: 'json_Rumahsakit_kab_asahan_6',
layerName: 'layer_Rumahsakit_kab_asahan_6',
pane: 'pane_Rumahsakit_kab_asahan_6',
onEachFeature: pop_Rumahsakit_kab_asahan_6,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_Rumahsakit_kab_asahan_6_0(feature));
},
});
bounds_group.addLayer(layer_Rumahsakit_kab_asahan_6);
map.addLayer(layer_Rumahsakit_kab_asahan_6);
function pop_Rumahsakit_kab_batubara_7(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_Rumahsakit_kab_batubara_7_0() {
return {
pane: 'pane_Rumahsakit_kab_batubara_7',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_Rumahsakit_kab_batubara_7');
map.getPane('pane_Rumahsakit_kab_batubara_7').style.zIndex = 407;
map.getPane('pane_Rumahsakit_kab_batubara_7').style['mix-blend-mode'] = 'normal';
var layer_Rumahsakit_kab_batubara_7 = new L.geoJson(json_Rumahsakit_kab_batubara_7, {
attribution: '',
interactive: true,
dataVar: 'json_Rumahsakit_kab_batubara_7',
layerName: 'layer_Rumahsakit_kab_batubara_7',
pane: 'pane_Rumahsakit_kab_batubara_7',
onEachFeature: pop_Rumahsakit_kab_batubara_7,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_Rumahsakit_kab_batubara_7_0(feature));
},
});
bounds_group.addLayer(layer_Rumahsakit_kab_batubara_7);
map.addLayer(layer_Rumahsakit_kab_batubara_7);
function pop_Rumahsakit_kab_binjai_8(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_Rumahsakit_kab_binjai_8_0() {
return {
pane: 'pane_Rumahsakit_kab_binjai_8',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_Rumahsakit_kab_binjai_8');
map.getPane('pane_Rumahsakit_kab_binjai_8').style.zIndex = 408;
map.getPane('pane_Rumahsakit_kab_binjai_8').style['mix-blend-mode'] = 'normal';
var layer_Rumahsakit_kab_binjai_8 = new L.geoJson(json_Rumahsakit_kab_binjai_8, {
attribution: '',
interactive: true,
dataVar: 'json_Rumahsakit_kab_binjai_8',
layerName: 'layer_Rumahsakit_kab_binjai_8',
pane: 'pane_Rumahsakit_kab_binjai_8',
onEachFeature: pop_Rumahsakit_kab_binjai_8,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_Rumahsakit_kab_binjai_8_0(feature));
},
});
bounds_group.addLayer(layer_Rumahsakit_kab_binjai_8);
map.addLayer(layer_Rumahsakit_kab_binjai_8);
function pop_Rumahsakit_kab_dairi_9(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_Rumahsakit_kab_dairi_9_0() {
return {
pane: 'pane_Rumahsakit_kab_dairi_9',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_Rumahsakit_kab_dairi_9');
map.getPane('pane_Rumahsakit_kab_dairi_9').style.zIndex = 409;
map.getPane('pane_Rumahsakit_kab_dairi_9').style['mix-blend-mode'] = 'normal';
var layer_Rumahsakit_kab_dairi_9 = new L.geoJson(json_Rumahsakit_kab_dairi_9, {
attribution: '',
interactive: true,
dataVar: 'json_Rumahsakit_kab_dairi_9',
layerName: 'layer_Rumahsakit_kab_dairi_9',
pane: 'pane_Rumahsakit_kab_dairi_9',
onEachFeature: pop_Rumahsakit_kab_dairi_9,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_Rumahsakit_kab_dairi_9_0(feature));
},
});
bounds_group.addLayer(layer_Rumahsakit_kab_dairi_9);
map.addLayer(layer_Rumahsakit_kab_dairi_9);
function pop_Rumahsakit_kab_deliserdang_10(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_Rumahsakit_kab_deliserdang_10_0() {
return {
pane: 'pane_Rumahsakit_kab_deliserdang_10',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_Rumahsakit_kab_deliserdang_10');
map.getPane('pane_Rumahsakit_kab_deliserdang_10').style.zIndex = 410;
map.getPane('pane_Rumahsakit_kab_deliserdang_10').style['mix-blend-mode'] = 'normal';
var layer_Rumahsakit_kab_deliserdang_10 = new L.geoJson(json_Rumahsakit_kab_deliserdang_10, {
attribution: '',
interactive: true,
dataVar: 'json_Rumahsakit_kab_deliserdang_10',
layerName: 'layer_Rumahsakit_kab_deliserdang_10',
pane: 'pane_Rumahsakit_kab_deliserdang_10',
onEachFeature: pop_Rumahsakit_kab_deliserdang_10,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_Rumahsakit_kab_deliserdang_10_0(feature));
},
});
bounds_group.addLayer(layer_Rumahsakit_kab_deliserdang_10);
map.addLayer(layer_Rumahsakit_kab_deliserdang_10);
function pop_KepulauanNias_11(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_KepulauanNias_11_0() {
return {
pane: 'pane_KepulauanNias_11',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_KepulauanNias_11');
map.getPane('pane_KepulauanNias_11').style.zIndex = 411;
map.getPane('pane_KepulauanNias_11').style['mix-blend-mode'] = 'normal';
var layer_KepulauanNias_11 = new L.geoJson(json_KepulauanNias_11, {
attribution: '',
interactive: true,
dataVar: 'json_KepulauanNias_11',
layerName: 'layer_KepulauanNias_11',
pane: 'pane_KepulauanNias_11',
onEachFeature: pop_KepulauanNias_11,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_KepulauanNias_11_0(feature));
},
});
bounds_group.addLayer(layer_KepulauanNias_11);
map.addLayer(layer_KepulauanNias_11);
function pop_PhakPhakBarat_12(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_PhakPhakBarat_12_0() {
return {
pane: 'pane_PhakPhakBarat_12',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_PhakPhakBarat_12');
map.getPane('pane_PhakPhakBarat_12').style.zIndex = 412;
map.getPane('pane_PhakPhakBarat_12').style['mix-blend-mode'] = 'normal';
var layer_PhakPhakBarat_12 = new L.geoJson(json_PhakPhakBarat_12, {
attribution: '',
interactive: true,
dataVar: 'json_PhakPhakBarat_12',
layerName: 'layer_PhakPhakBarat_12',
pane: 'pane_PhakPhakBarat_12',
onEachFeature: pop_PhakPhakBarat_12,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_PhakPhakBarat_12_0(feature));
},
});
bounds_group.addLayer(layer_PhakPhakBarat_12);
map.addLayer(layer_PhakPhakBarat_12);
function pop_kota_medan_13(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_kota_medan_13_0() {
return {
pane: 'pane_kota_medan_13',
rotationAngle: 0.0,
rotationOrigin: 'center center',
icon: L.icon({
iconUrl: 'markers/amenity=hospital.svg',
iconSize: [26.599999999999998, 26.599999999999998]
}),
interactive: true,
}
}
map.createPane('pane_kota_medan_13');
map.getPane('pane_kota_medan_13').style.zIndex = 413;
map.getPane('pane_kota_medan_13').style['mix-blend-mode'] = 'normal';
var layer_kota_medan_13 = new L.geoJson(json_kota_medan_13, {
attribution: '',
interactive: true,
dataVar: 'json_kota_medan_13',
layerName: 'layer_kota_medan_13',
pane: 'pane_kota_medan_13',
onEachFeature: pop_kota_medan_13,
pointToLayer: function (feature, latlng) {
var context = {
feature: feature,
variables: {}
};
return L.marker(latlng, style_kota_medan_13_0(feature));
},
});
bounds_group.addLayer(layer_kota_medan_13);
map.addLayer(layer_kota_medan_13);
function pop_tebing_tinggi_14(feature, layer) {
layer.on({
mouseout: function(e) {
for (i in e.target._eventParents) {
e.target._eventParents[i].resetStyle(e.target);
}
if (typeof layer.closePopup == 'function') {
layer.closePopup();
} else {
layer.eachLayer(function(feature){
feature.closePopup()
});
}
},
mouseover: highlightFeature,
});
var popupContent = '<table>\
<tr>\
<td colspan="2"><strong>NAMOBJ</strong><br />' + (feature.properties['NAMOBJ'] !== null ? autolinker.link(feature.properties['NAMOBJ'].toLocaleString()) : '') + '</td>\
</tr>\
<tr>\
<td colspan="2"><strong>REMARK</strong><br />' + (feature.properties['REMARK'] !== null ? autolinker.link(feature.properties['REMARK'].toLocaleString()) : '') + '</td>\
</tr>\
</table>';
layer.bindPopup(popupContent, {maxHeight: 400});
}
function style_tebing_tinggi_14_0() {
return {
pane: 'pane_tebing_tinggi_14',
rotationAngle: 0.0,