19 lines
298 B
Markdown
19 lines
298 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('http://demo.opengeo.org/geoserver/ows?', {
|
|
layers: 'nasa:bluemarble'
|
|
}).addTo(map);
|
|
|
|
|
|
</script>
|