Sha256: 7aac09fb90dec1c9c60edc61388c7f6774219e7c7d96ee11a7038398b0dc2c35

Contents?: true

Size: 685 Bytes

Versions: 12

Compression:

Stored size: 685 Bytes

Contents

var map = new OpenLayers.Map({
    div: "map",
    layers: [
        new OpenLayers.Layer.WMS(
            "WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0",
            {layers: "basic"}
        ),
        new OpenLayers.Layer.Vector("KML", {
            strategies: [new OpenLayers.Strategy.Fixed()],
            protocol: new OpenLayers.Protocol.HTTP({
                url: "kml/lines.kml",
                format: new OpenLayers.Format.KML({
                    extractStyles: true, 
                    extractAttributes: true,
                    maxDepth: 2
                })
            })
        })
    ],
    center: new OpenLayers.LonLat(-112.169, 36.099),
    zoom: 11
});

Version data entries

12 entries across 12 versions & 2 rubygems

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