Skip to content

Instantly share code, notes, and snippets.

@karlbenedict
Created May 1, 2014 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karlbenedict/8d9243f68cdf56b19c1a to your computer and use it in GitHub Desktop.
Save karlbenedict/8d9243f68cdf56b19c1a to your computer and use it in GitHub Desktop.
OpenLayers - USGS National Atlas - Federal Lands WMS
// from USGS National Atlas: http://webservices.nationalatlas.gov/wms/boundaries?SERVICE=WMS&REQUEST=GetCapabilities
federallandsLayer = new OpenLayers.Layer.WMS(
"US Federal Lands",
"http://webservices.nationalatlas.gov/wms?",
{layers: "federallands", version: '1.3.0', transparent: 'TRUE'},
{isBaseLayer: false, visibility: false, opacity: .5}
);
map.addLayer(federallandsLayer);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment