Avoid pink tiles on example.html.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9630 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -25,20 +25,7 @@
|
|||||||
{layers: "landsat7"}
|
{layers: "landsat7"}
|
||||||
);
|
);
|
||||||
|
|
||||||
var dm_wms = new OpenLayers.Layer.WMS(
|
map.addLayers([ol_wms, jpl_wms]);
|
||||||
"DM Solutions Demo",
|
|
||||||
"http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
|
|
||||||
{
|
|
||||||
layers: "bathymetry,land_fn,park,drain_fn,drainage," +
|
|
||||||
"prov_bound,fedlimit,rail,road,popplace",
|
|
||||||
transparent: "true", format: "image/png"},
|
|
||||||
{
|
|
||||||
minResolution: 0.17578125,
|
|
||||||
maxResolution: 0.703125
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
map.addLayers([ol_wms, jpl_wms, dm_wms]);
|
|
||||||
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
||||||
map.zoomToMaxExtent();
|
map.zoomToMaxExtent();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user