From 9ed386b590e8ed0b9daf3e5b3039e8992b97c98c Mon Sep 17 00:00:00 2001 From: Fabien Ancelin Date: Wed, 1 May 2019 12:20:13 -0400 Subject: [PATCH] Fixes #5 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 283a602..2bc8ece 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ This application has no data requirements. 4. 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"` -5. 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.13"` and replace this portion of the reference with the url to your local install. +5. 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/4.10` 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. 6. Copy a map or group ID from Portal/ArcGIS Online and replace the default web map ID in the application’s default.js file. You can now run the application on your web server or customize the application further.