To embed this map, copy the following code snippet into your own page:
<div class="map-container">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.css"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.3/leaflet.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.15/proj4-src.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var wmsLayer = null;
var map = L.map('map').setView([0, 6.66837200866e+11], -30.0);
var osm = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors',
});
map.addLayer(osm);
var bbox = [993261965103.2009, -inf, 340412436628.14716, -12284206.075973533];
zoom_to_box(map, bbox);
var layer_url = 'http://geoportal.ntnc.org.np/geoserver/ows';
var options = {
format: 'image/png',
transparent: true,
layers: 'ntnc:Chure_Region',
opacity: 0.8
};
if (layer_url.includes('{z}') && layer_url.includes('{y}') && layer_url.includes('{x}')) {
wmsLayer = L.tileLayer(layer_url, options);
}
else {
wmsLayer = L.tileLayer.wms(layer_url, options);
}
if (wmsLayer != null) {
map.addLayer(wmsLayer);
}
});
function zoom_to_box(map, bbox) {
var bounds = [
[bbox[1], bbox[0]],
[bbox[3], bbox[2]]
];
}
</script>
<style type="text/css">
#map {
height: 800px;
}
</style>
<div id="map"></div>
</div>
Comments (26 total)
Log in to add a comment
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/
By testing@example.com on
-1
By testing@example.com on
-1)
By testing@example.com on
-1 waitfor delay '0:0:15' --
By testing@example.com on
DZNOR9GG'
By testing@example.com on