Revision 6920
Added by ben leinfelder almost 13 years ago
lib/style/common/spatial/map.js | ||
---|---|---|
27 | 27 |
"http://labs.metacarta.com/wms/vmap0", |
28 | 28 |
{layers: 'basic'} ); |
29 | 29 |
|
30 |
var demis = new OpenLayers.Layer.WMS( "Demis World Map", |
|
31 |
"http://www2.demis.nl/WMS/wms.asp?wms=WorldMap", |
|
32 |
{layers: 'Bathymetry,Countries,Topography,Hillshading,Coastlines,Waterbodies,Inundated,Rivers,Streams,Builtup+areas,Railroads,Highways,Roads,Trails,Borders,Cities,Settlements,Airports'} ); |
|
30 |
// NOTE: as of Jan 2012, it seems that this WMS service requires basic authentication |
|
31 |
//var demis = new OpenLayers.Layer.WMS( "Demis World Map", |
|
32 |
// "http://www2.demis.nl/WMS/wms.asp?wms=WorldMap", |
|
33 |
// {layers: 'Bathymetry,Countries,Topography,Hillshading,Coastlines,Waterbodies,Inundated,Rivers,Streams,Builtup+areas,Railroads,Highways,Roads,Trails,Borders,Cities,Settlements,Airports'} ); |
|
34 |
|
|
35 |
//map.addLayers([demis, ol_wms, world_borders, metacat_points, metacat_bounds]); |
|
36 |
map.addLayers([ol_wms, world_borders, metacat_points, metacat_bounds]); |
|
33 | 37 |
|
34 |
map.addLayers([demis, ol_wms, world_borders, metacat_points, metacat_bounds]); |
|
35 |
|
|
36 | 38 |
// perhaps a skin has added more layers |
37 | 39 |
if (additionalLayers) { |
38 | 40 |
map.addLayers(additionalLayers); |
Also available in: Unified diff
comment our the Demis world map layer -- it was prompting for username/password to use the WMS