Skip to content

Commit

Permalink
remove the osmarander layer from spherical-mercator.html, as the osma…
Browse files Browse the repository at this point in the history
…rander tiles (tah.openstreetmap.org) are no longer available
  • Loading branch information
elemoine committed Mar 17, 2012
1 parent 1935d6d commit 853ad09
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions examples/spherical-mercator.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,11 @@ <h1 id="title">OpenLayers Spherical Mercator Example</h1>
// create OSM layers
var mapnik = new OpenLayers.Layer.OSM();

var osmarender = new OpenLayers.Layer.OSM(
"OpenStreetMap (Tiles@Home)",
"http://tah.openstreetmap.org/Tiles/tile/${z}/${x}/${y}.png"
);

// create a vector layer for drawing
var vector = new OpenLayers.Layer.Vector("Editable Vectors");

map.addLayers([
gphy, gmap, gsat, ghyb, veroad, veaer, vehyb, mapnik, osmarender, vector
gphy, gmap, gsat, ghyb, veroad, veaer, vehyb, mapnik, vector
]);
map.addControl(new OpenLayers.Control.LayerSwitcher());
map.addControl(new OpenLayers.Control.EditingToolbar(vector));
Expand Down

0 comments on commit 853ad09

Please sign in to comment.