Skip to content

Instantly share code, notes, and snippets.

@iamtekson
Created October 24, 2019 16:06
Show Gist options
  • Save iamtekson/31175ed12f63ce55527127ebfe4671a3 to your computer and use it in GitHub Desktop.
Save iamtekson/31175ed12f63ce55527127ebfe4671a3 to your computer and use it in GitHub Desktop.
WMS code
//load wms form geoserver
const mywms = L.tileLayer.wms("http://localhost:8080/geoserver/tajikistan/wms", {
layers: 'tajikistan:country1',
format: 'image/png',
transparent: true,
version: '1.1.0',
attribution: "country layer"
});
mywms.addTo(map);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment