Leaflet - plugin for wms 1-0
by Leo
HTML
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0-beta.2/leaflet-src.js"></script>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.0-beta.2/leaflet.css">
<script src="//rawgit.com/heigeo/leaflet.wms/gh-pages/leaflet.wms.js"></script>
<body>
<div id="map" ></div>
</body>
CSS
html, body, #map {
margin: 0;
width: 100%;
height: 100%;
}
JavaScript
var map = new L.Map('map');
var overlay = L.WMS.overlay("http://arcims.xxx.com/wmsconnector/com.esri.wms.Esrimap/Netherland_new", {
'layers': '0,1,2,3,4,5,6,7,8,9,10,11,12,13',
'transparent': true,
'crs': L.CRS.EPSG4326
});
overlay.addTo(map);
map.fitBounds(L.latLngBounds(L.latLng(51, 4), L.latLng(51.5, 4.5)));