Skip to content

Commit

Permalink
Update wms.html
Browse files Browse the repository at this point in the history
  • Loading branch information
danames authored Jan 30, 2025
1 parent 3bfd2fa commit 4755e4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions leaflet/wms/wms.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Simple Leaflet Web Map</title>
<title>Simple Leaflet Web Map 2</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"></script>
</head>
Expand All @@ -16,12 +16,12 @@ <h1>Simple WMS Demo</h1>
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);

L.tileLayer.wms('https://geoserver.hydroshare.org/geoserver/HS-0b3452c0c2d34f099e6da847a6ce828d/wms', {
/*L.tileLayer.wms('https://geoserver.hydroshare.org/geoserver/HS-0b3452c0c2d34f099e6da847a6ce828d/wms', {
layers: 'HS-0b3452c0c2d34f099e6da847a6ce828d:counties',
format: 'image/png',
transparent: true,
attribution: 'Hydroshare GeoServer'
}).addTo(map);
}).addTo(map);*/
L.tileLayer.wms('https://geoserver.hydroshare.org/geoserver/HS-0b3452c0c2d34f099e6da847a6ce828d/wms', {
layers: 'counties', // Corrected layer name
format: 'image/png',
Expand Down

0 comments on commit 4755e4a

Please sign in to comment.