Simple Leaflet Based Map Viewer for HydroShare Resources

Dan Ames, BYU CE 534 HydroInformatics

This map viewer page is displaying a Leaflet map using Open Street Map tiles as a basemap. It also is able to load a WMS layer from a HydroShare Geoserver WMS service if the paramters "resourceid" and "layername" are specified from a valid HydroShare resource.

To test this page, include the following paramters in the URL query string in your browser and set a value for each one: 'user', 'resoruceid', and 'layername'

For example here is a full URL with the query string added:

https://www.et.byu.edu/~dpames/hs-leaflet-viewer.html?user=Dan%20Ames&resourceid=49ea3bd6231c4e8ea8134ef52e9731ba&layername=yangtze

User Name: xxx

Resource ID: xxx

Layer Name: xxx