diff --git a/examples/mapbox.html b/examples/mapbox.html
index 3ccbffe776..4ccac1434e 100644
--- a/examples/mapbox.html
+++ b/examples/mapbox.html
@@ -7,49 +7,6 @@
OpenLayers MapBox Example
-
Basic MapBox OSM Example
diff --git a/examples/mapbox.js b/examples/mapbox.js
index ee57d66e0c..134d0d865e 100644
--- a/examples/mapbox.js
+++ b/examples/mapbox.js
@@ -6,13 +6,14 @@ var streets = new OpenLayers.Layer.XYZ(
"http://c.tiles.mapbox.com/v3/mapbox.mapbox-streets/${z}/${x}/${y}.png",
"http://d.tiles.mapbox.com/v3/mapbox.mapbox-streets/${z}/${x}/${y}.png"
], {
- attribution: "Tiles © MapBox | " +
- "Data © OpenStreetMap " +
+ attribution: "Tiles © MapBox | " +
+ "Data © OpenStreetMap " +
"and contributors, CC-BY-SA",
sphericalMercator: true,
+ wrapDateLine: true,
transitionEffect: "resize",
buffer: 1,
- numZoomLevels: 16
+ numZoomLevels: 17
}
);
@@ -26,7 +27,7 @@ var map = new OpenLayers.Map({
enableKinetic: true
}
}),
- new OpenLayers.Control.ZoomPanel(),
+ new OpenLayers.Control.Zoom(),
new OpenLayers.Control.Permalink({anchor: true})
],
center: [0, 0],