Sha256: 6c970912674a30613daeb509055ee65cfd7337fc4243c10256f7534b6e8fff78

Contents?: true

Size: 885 Bytes

Versions: 3

Compression:

Stored size: 885 Bytes

Contents

---
layout: tutorial_frame
title: WMS example
---
<script type='text/javascript'>

	var map = L.map('map', {
		center: [-17, -67],
		zoom: 3
	});

	var basemaps = {
		Countries: L.tileLayer.wms('http://demo.opengeo.org/geoserver/ows?', {
			layers: 'ne:ne_10m_admin_0_countries'
		}),

		Boundaries: L.tileLayer.wms('http://demo.opengeo.org/geoserver/ows?', {
			layers: 'ne:ne_10m_admin_0_boundary_lines_land'
		}),

		'Countries, then boundaries': L.tileLayer.wms('http://demo.opengeo.org/geoserver/ows?', {
			layers: 'ne:ne_10m_admin_0_countries,ne:ne_10m_admin_0_boundary_lines_land'
		}),

		'Boundaries, then countries': L.tileLayer.wms('http://demo.opengeo.org/geoserver/ows?', {
			layers: 'ne:ne_10m_admin_0_boundary_lines_land,ne:ne_10m_admin_0_countries'
		})
	};

	L.control.layers(basemaps, {}, {collapsed: false}).addTo(map);

	basemaps.Countries.addTo(map);

</script>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
columbus3-0.5.1 bower_components/leaflet/docs/examples/wms/wms-example3.md
columbus3-0.6.0 bower_components/leaflet/docs/examples/wms/wms-example3.md
columbus3-0.5.0 bower_components/leaflet/docs/examples/wms/wms-example3.md