Last active
August 29, 2015 14:00
-
-
Save karlbenedict/bbcaa28bd54746520380 to your computer and use it in GitHub Desktop.
OpenLayers - USGS Topographic WMS (Basemap)
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 http://basemap.nationalmap.gov/ArcGIS/services/USGSImageryTopo/MapServer/WMSServer?request=GetCapabilities&service=WMS | |
usImagery = new OpenLayers.Layer.WMS( | |
"US Imagery Tile Service - USGS", | |
"http://basemap.nationalmap.gov/arcgis/services/USGSImageryTopo/MapServer/WmsServer?", | |
{layers: "0", version: '1.3.0', transparent: 'TRUE'}, | |
{isBaseLayer: true} | |
); | |
map.addLayer(usImagery) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment