Sha256: 4ce03469784188b48a0cedb6bfc726d871d675cf2ace6f55fc80b69242c0129e

Contents?: true

Size: 1.11 KB

Versions: 7

Compression:

Stored size: 1.11 KB

Contents

var map = new OpenLayers.Map({
    div: "map",
    projection: "EPSG:900913",
    layers: [
        new OpenLayers.Layer.XYZ(
            "Imagery",
            [
                "http://oatile1.mqcdn.com/naip/${z}/${x}/${y}.png",
                "http://oatile2.mqcdn.com/naip/${z}/${x}/${y}.png",
                "http://oatile3.mqcdn.com/naip/${z}/${x}/${y}.png",
                "http://oatile4.mqcdn.com/naip/${z}/${x}/${y}.png"
            ],
            {
                attribution: "Tiles Courtesy of <a href='http://open.mapquest.co.uk/' target='_blank'>MapQuest</a>. Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency. <img src='http://developer.mapquest.com/content/osm/mq_logo.png' border='0'>",
                transitionEffect: "resize",
                wrapDateLine: true
            }
        )
    ],
    controls: [
        new OpenLayers.Control.Navigation({
            dragPanOptions: {
                enableKinetic: true
            }
        }),
        new OpenLayers.Control.Zoom(),
        new OpenLayers.Control.Attribution()
    ],
    center: [0, 0],
    zoom: 1
});

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
postrunner-0.0.10 misc/openlayers/examples/bootstrap.js
postrunner-0.0.9 misc/openlayers/examples/bootstrap.js
postrunner-0.0.8 misc/openlayers/examples/bootstrap.js
postrunner-0.0.7 misc/openlayers/examples/bootstrap.js
postrunner-0.0.6 misc/openlayers/examples/bootstrap.js
postrunner-0.0.5 misc/openlayers/examples/bootstrap.js
postrunner-0.0.4 misc/openlayers/examples/bootstrap.js