fixed proxy path

This commit is contained in:
Javier Abadia 2014-01-21 23:50:47 +01:00
parent 4961e62f56
commit 221d790705
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
* empty
*/
$serverUrls = array(
array( 'url' => 'http://sampleserver6.arcgisonline.com/arcgis/rest/services', 'matchAll' => true, 'token' => ''),
array( 'url' => 'http://tiles1.arcgis.com/tiles/', 'matchAll' => true, 'token' => '' ),
array( 'url' => 'http://tiles2.arcgis.com/tiles/', 'matchAll' => true, 'token' => '' ),
array( 'url' => 'http://tiles3.arcgis.com/tiles/', 'matchAll' => true, 'token' => '' ),

View File

@ -171,7 +171,7 @@ Sample demonstrates basic offline editing functionality for points, lines and po
var selectionSymbol;
// refer to "Using the Proxy Page" for more information: https://developers.arcgis.com/en/javascript/jshelp/ags_proxy.html
esriConfig.defaults.io.proxyUrl = "/proxy";
esriConfig.defaults.io.proxyUrl = "../lib/proxy.php";
// This service is for development and testing purposes only. We recommend that you create your own geometry service for use within your applications.
esriConfig.defaults.geometryService = new esri.tasks.GeometryService("http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer");