Skip to content

Commit

Permalink
Updated to JSAPI 3.25, removed obsolete meta tag, added feature layer…
Browse files Browse the repository at this point in the history
… validation
  • Loading branch information
MikeTschudi committed Jun 12, 2018
1 parent 9a0f202 commit 4af445c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -47,7 +47,7 @@ Crowdsource Manager, a companion group template to Crowdsource Reporter, allows
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 + "//" + “<your organization name>.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.24"` 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.25"` 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 group ID from Portal/ArcGIS Online and replace the default group ID in the application’s default.js file. You can now run the application on your web server or configure the application further.

Expand All @@ -59,7 +59,7 @@ Learn more about Esri's [ArcGIS for Local Government maps and apps][].

Show me a list of other [Local Government GitHub repositories][].

This application uses the 3.16 version of [Esri's ArcGIS API for JavaScript][]; see the site for concepts, samples, and a reference for using the API to create mapping web sites.
This application uses the 3.25 version of [Esri's ArcGIS API for JavaScript][]; see the site for concepts, samples, and a reference for using the API to create mapping web sites.

[Esri's ArcGIS Online Help][] site describes how to create web maps and web map applications in the ArcGIS Online ecosystem.

Expand Down
7 changes: 3 additions & 4 deletions index.html
Expand Up @@ -3,7 +3,6 @@
<head>
<title></title>
<meta charset="utf-8">
<meta name="fragment" content="!">
<!-- Responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="mobile-web-app-capable" content="yes">
Expand All @@ -19,8 +18,8 @@
rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="js/vendor/touch-spinner/jquery.bootstrap-touchspin.min.css" />
<!-- Use protocol relative urls that way if the browser is viewing the page via HTTPS the js/css file will be requested using the HTTPS protocol -->
<link rel="stylesheet" href="https://js.arcgis.com/3.24/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.24/esri/css/esri.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.25/dijit/themes/claro/claro.css">
<link rel="stylesheet" href="https://js.arcgis.com/3.25/esri/css/esri.css">
<!-- Calcite Bootstrap CSS -->
<link href="js/vendor/calcite-bootstrap/calcite-bootstrap.min.css" rel="stylesheet"
type="text/css" />
Expand Down Expand Up @@ -106,7 +105,7 @@
<script src="js/vendor/table-sorter-2.25.3/table-fixed-header.js" type="text/javascript"></script>
<script type="text/javascript" src="js/vendor/touch-spinner/jquery.bootstrap-touchspin.min.js"></script>
<!-- Load any application specific styles -->
<script type="text/javascript" src="https://js.arcgis.com/3.24/"></script>
<script type="text/javascript" src="https://js.arcgis.com/3.25/"></script>
<script type="text/javascript">
require([
"application/bootstrapper"
Expand Down

0 comments on commit 4af445c

Please sign in to comment.