Last active
August 29, 2015 14:00
-
-
Save karlbenedict/94008770ee2d1a77eb0b to your computer and use it in GitHub Desktop.
OpenLayers - USGS National Atlas - Counties WMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from USGS National Atlas: http://webservices.nationalatlas.gov/wms/boundaries?SERVICE=WMS&REQUEST=GetCapabilities | |
countiesLayer = new OpenLayers.Layer.WMS( | |
"US Counties", | |
"http://webservices.nationalatlas.gov/wms?", | |
{layers: "counties", version: '1.3.0', transparent: 'TRUE'}, | |
{isBaseLayer: false, visibility: false, opacity: .8} | |
); | |
map.addLayer(countiesLayer); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment