From 78f448adc16e66a75ffd1bb18b974eda1502a722 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Fri, 9 Sep 2016 09:24:27 -0700 Subject: [PATCH] latest updates --- README.md | 2 +- index.html | 8 +++-- js/builder/builder.js | 62 ++++++++++++++++++++++------------ js/main.js | 34 ++++++++++++++++--- js/nls/he/resources.js | 16 ++++----- js/nls/lt/resources.js | 36 ++++++++++---------- js/wrapper/main-jquery-deps.js | 2 -- viewer.html | 8 +++-- 8 files changed, 107 insertions(+), 61 deletions(-) diff --git a/README.md b/README.md index e11a796..c85560c 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ The GeoForm template can be accessed via the ArcGIS template gallery or item det 3. Change the sharing host, found in defaults.js inside the config folder for the application, to the sharing URL for ArcGIS Online or Portal. For ArcGIS Online users, keep the default value of www.arcgis.com or specify the name of your organization. - ArcGIS Online Example: `"sharinghost": location.protocol + "//" + “.maps.arcgis.com` - Portal Example where `arcgis` is the name of the Web Adaptor: `"sharinghost": location.protocol + "//" + "webadaptor.domain.com/arcgis"` -4. If you are using Portal or a local install of the ArcGIS API for JavaScript, change all references to the ArcGIS API for JavaScript in index.html to refer to your local copy of the API. Search for the references containing `"//js.arcgis.com/3.17"` and replace this portion of the reference with the url to your local install. +4. If you are using Portal or a local install of the ArcGIS API for JavaScript, change all references to the ArcGIS API for JavaScript in index.html to refer to your local copy of the API. Search for the references containing `"//js.arcgis.com/3.18"` and replace this portion of the reference with the url to your local install. - For example: `"//webadaptor.domain.com/arcgis/jsapi/jsapi"` where `arcgis` is the name of your Web Adaptor. 5. Copy a map or group ID from Portal/ArcGIS Online and replace the default web map ID in the application’s defaults.js file. You can now run the application on your web server or customize the application further. diff --git a/index.html b/index.html index 23a2783..c0e4e52 100644 --- a/index.html +++ b/index.html @@ -20,13 +20,15 @@ - - + + + + - - + + + +