19 lines
304 B
Markdown
19 lines
304 B
Markdown
---
|
|
layout: tutorial_frame
|
|
title: WMS example
|
|
---
|
|
<script type='text/javascript'>
|
|
|
|
var map = L.map('map', {
|
|
center: [0, 0],
|
|
zoom: 1,
|
|
crs: L.CRS.EPSG4326
|
|
});
|
|
|
|
var wmsLayer = L.tileLayer.wms('https://demo.boundlessgeo.com/geoserver/ows?', {
|
|
layers: 'nasa:bluemarble'
|
|
}).addTo(map);
|
|
|
|
|
|
</script>
|