From 30ad3adb9df07ae1b27e6fa51e739ca5379d007f Mon Sep 17 00:00:00 2001 From: _DR_ Date: Thu, 16 Feb 2012 08:50:17 +0400 Subject: [PATCH] Fix Basic ESRI Map Cache Example --- examples/xyz-esri.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/xyz-esri.html b/examples/xyz-esri.html index f6855a52ed..71ad270134 100644 --- a/examples/xyz-esri.html +++ b/examples/xyz-esri.html @@ -19,7 +19,7 @@ var layerExtent = new OpenLayers.Bounds( -13758743.4295939, 5591455.28887228, -13531302.3472101 , 5757360.4178881); map = new OpenLayers.Map( 'map', {'restrictedExtent': layerExtent} ); layer = new OpenLayers.Layer.XYZ( "ESRI", - "http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Portland/ESRI_LandBase_WebMercator/MapServer/tile/${z}/${y}/${x}", + "http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/${z}/${y}/${x}", {sphericalMercator: true} ); map.addLayer(layer); map.zoomToExtent(map.restrictedExtent); @@ -33,7 +33,7 @@

Basic ESRI Map Cache Example

XYZ, layer, tile -
Show a Simple ESRI map using the layer from ESRI's server.
+
Show a Simple ESRI map using the layer from ESRI's server.