Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion endpoint/c/1184107/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1 class="text-white font-weight-bold ml-2">
</div>
</div>

<script src="js/lib.js" type="text/javascript"></script>
<!-- <script src="js/lib.js" type="text/javascript"></script> -->
<script src="js/geojson.js" type="text/javascript"></script>
<script src="js/endpoint.js" type="text/javascript"></script>
</body>
Expand Down
4 changes: 1 addition & 3 deletions endpoint/c/1184107/js/endpoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,4 @@ function response(result) {
.openOn(map);

map.setView([Lat, Long], 15);
}


}
10 changes: 1 addition & 9 deletions endpoint/c/1184107/js/geojson.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
const map = L.map('map').setView([-6.87360695863978, 107.5759227360176], 23);
const map = L.map('map').setView([3.594734611258944, 98.6710254771208], 10);

const tiles = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="http://www.bukupedia.co.id/">Bukupedia University</a>'
}).addTo(map);





L.geoJSON(getGeoJSON("bandung/ryan.json"), {
onEachFeature: onEachFeature
}).addTo(map);
Loading