Sha256: 3dead0de1992c4ff4d65ab7e61e578560bfd26f73a53b763ccb5f5d1d85396fc

Contents?: true

Size: 635 Bytes

Versions: 12

Compression:

Stored size: 635 Bytes

Contents

var map = new OpenLayers.Map("map");

var ol_wms = new OpenLayers.Layer.WMS(
    "OpenLayers WMS",
    "http://vmap0.tiles.osgeo.org/wms/vmap0",
    {layers: "basic"}
);

var dm_wms = new OpenLayers.Layer.WMS(
    "Canadian Data",
    "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"
    },
    {isBaseLayer: false, visibility: false}
);

map.addLayers([ol_wms, dm_wms]);
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.zoomToMaxExtent();

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
postrunner-0.0.10 misc/openlayers/examples/example.js
postrunner-0.0.9 misc/openlayers/examples/example.js
postrunner-0.0.8 misc/openlayers/examples/example.js
postrunner-0.0.7 misc/openlayers/examples/example.js
postrunner-0.0.6 misc/openlayers/examples/example.js
postrunner-0.0.5 misc/openlayers/examples/example.js
postrunner-0.0.4 misc/openlayers/examples/example.js
gb_mapfish_appserver-0.0.5 vendor/assets/javascripts/openlayers/examples/example.js
gb_mapfish_appserver-0.0.4 vendor/assets/javascripts/openlayers/examples/example.js
gb_mapfish_appserver-0.0.3 vendor/assets/javascripts/openlayers/examples/example.js
gb_mapfish_appserver-0.0.2 vendor/assets/javascripts/openlayers/examples/example.js
gb_mapfish_appserver-0.0.1 vendor/assets/javascripts/openlayers/examples/example.js