Sha256: e9b27f72c8432802c73d24908c737a7dd6ad77ec8870e7ad11777c8063301c1a

Contents?: true

Size: 718 Bytes

Versions: 7

Compression:

Stored size: 718 Bytes

Contents

var earth = new OpenLayers.Layer.XYZ(
    "Natural Earth",
    [
        "http://a.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy/${z}/${x}/${y}.png",
        "http://b.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy/${z}/${x}/${y}.png",
        "http://c.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy/${z}/${x}/${y}.png",
        "http://d.tiles.mapbox.com/v3/mapbox.natural-earth-hypso-bathy/${z}/${x}/${y}.png"
    ], {
        attribution: "Tiles &copy; <a href='http://mapbox.com/'>MapBox</a>",
        sphericalMercator: true,
        wrapDateLine: true,
        numZoomLevels: 5
    }
);

var map = new OpenLayers.Map({
    div: "map",
    layers: [earth],
    center: [0, 0],
    zoom: 1
});

Version data entries

7 entries across 7 versions & 1 rubygems

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