Merge pull request #333 from elemoine/patch-1
Tiles@Home has been discontinued so it should be removed from the doc as well
This commit is contained in:
@@ -11,12 +11,14 @@
|
|||||||
* Class: OpenLayers.Layer.OSM
|
* Class: OpenLayers.Layer.OSM
|
||||||
* This layer allows accessing OpenStreetMap tiles. By default the OpenStreetMap
|
* This layer allows accessing OpenStreetMap tiles. By default the OpenStreetMap
|
||||||
* hosted tile.openstreetmap.org Mapnik tileset is used. If you wish to use
|
* hosted tile.openstreetmap.org Mapnik tileset is used. If you wish to use
|
||||||
* tiles@home / osmarender layer instead, you need to provide a different
|
* a different layer instead, you need to provide a different
|
||||||
* URL to the constructor. Here's an example for tiles@home:
|
* URL to the constructor. Here's an example for using OpenCycleMap:
|
||||||
*
|
*
|
||||||
* (code)
|
* (code)
|
||||||
* new OpenLayers.Layer.OSM("t@h",
|
* new OpenLayers.Layer.OSM("OpenCycleMap",
|
||||||
* "http://tah.openstreetmap.org/Tiles/tile/${z}/${x}/${y}.png");
|
* ["http://a.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
|
||||||
|
* "http://b.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
|
||||||
|
* "http://c.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png"]);
|
||||||
* (end)
|
* (end)
|
||||||
*
|
*
|
||||||
* Inherits from:
|
* Inherits from:
|
||||||
@@ -38,9 +40,11 @@ OpenLayers.Layer.OSM = OpenLayers.Class(OpenLayers.Layer.XYZ, {
|
|||||||
* (the official OSM tileset) if the second argument to the constructor
|
* (the official OSM tileset) if the second argument to the constructor
|
||||||
* is null or undefined. To use another tileset you can have something
|
* is null or undefined. To use another tileset you can have something
|
||||||
* like this:
|
* like this:
|
||||||
* (start code)
|
* (code)
|
||||||
* new OpenLayers.Layer.OSM("t@h",
|
* new OpenLayers.Layer.OSM("OpenCycleMap",
|
||||||
* "http://tah.openstreetmap.org/Tiles/tile/${z}/${x}/${y}.png");
|
* ["http://a.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
|
||||||
|
* "http://b.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png",
|
||||||
|
* "http://c.tile.opencyclemap.org/cycle/${z}/${x}/${y}.png"]);
|
||||||
* (end)
|
* (end)
|
||||||
*/
|
*/
|
||||||
url: [
|
url: [
|
||||||
|
|||||||
Reference in New Issue
Block a user