From 33bbbe8e5a15924ff35b0a9d3d0481f8d12c75f2 Mon Sep 17 00:00:00 2001 From: Javier Abadia Date: Thu, 2 Jan 2014 17:50:04 +0100 Subject: [PATCH] moved tiles app to samples dir --- {tiles => samples/tiles}/offlineProbe.css | 0 {tiles => samples/tiles}/offlineProbe.js | 0 {tiles => samples/tiles}/tiles-indexed-db.css | 0 {tiles => samples/tiles}/tiles-indexed-db.html | 12 ++++++------ {tiles => samples/tiles}/tiles-indexed-db.js | 3 ++- 5 files changed, 8 insertions(+), 7 deletions(-) rename {tiles => samples/tiles}/offlineProbe.css (100%) rename {tiles => samples/tiles}/offlineProbe.js (100%) rename {tiles => samples/tiles}/tiles-indexed-db.css (100%) rename {tiles => samples/tiles}/tiles-indexed-db.html (93%) rename {tiles => samples/tiles}/tiles-indexed-db.js (98%) diff --git a/tiles/offlineProbe.css b/samples/tiles/offlineProbe.css similarity index 100% rename from tiles/offlineProbe.css rename to samples/tiles/offlineProbe.css diff --git a/tiles/offlineProbe.js b/samples/tiles/offlineProbe.js similarity index 100% rename from tiles/offlineProbe.js rename to samples/tiles/offlineProbe.js diff --git a/tiles/tiles-indexed-db.css b/samples/tiles/tiles-indexed-db.css similarity index 100% rename from tiles/tiles-indexed-db.css rename to samples/tiles/tiles-indexed-db.css diff --git a/tiles/tiles-indexed-db.html b/samples/tiles/tiles-indexed-db.html similarity index 93% rename from tiles/tiles-indexed-db.html rename to samples/tiles/tiles-indexed-db.html index 31cf324..58d8cfe 100644 --- a/tiles/tiles-indexed-db.html +++ b/samples/tiles/tiles-indexed-db.html @@ -7,12 +7,12 @@ - + - - + + @@ -145,14 +145,14 @@ - - + + diff --git a/tiles/tiles-indexed-db.js b/samples/tiles/tiles-indexed-db.js similarity index 98% rename from tiles/tiles-indexed-db.js rename to samples/tiles/tiles-indexed-db.js index 7520269..f7e6081 100644 --- a/tiles/tiles-indexed-db.js +++ b/samples/tiles/tiles-indexed-db.js @@ -10,7 +10,7 @@ require(["esri/map", "esri/layers/GraphicsLayer", "esri/graphic", "esri/symbols/SimpleFillSymbol", "esri/dijit/Scalebar", "esri/arcgis/utils", "esri/geometry", "dojo/dom", "dojo/on", "dojo/query", - "../vendor/bootstrap-map-js/src/js/bootstrapmap.js", + "../../vendor/bootstrap-map-js/src/js/bootstrapmap.js", "esri/urlUtils", "esri/geometry/webMercatorUtils", "tiles/offlineEnabler", "dojo/dom-construct", "dojo/domReady!"], @@ -121,6 +121,7 @@ require(["esri/map", { if(success) { + basemapLayer.offline.proxyPath = "../../lib/proxy.php"; on(dojo.byId('prepare-for-offline-btn'),'click', prepareForOffline); on(dojo.byId('cancel-btn'),'click', cancel); on(dojo.byId('delete-all-tiles-btn'),'click', deleteAllTiles);