Web app template that is used to determine if the location specified intersects a polygon. The location entered is optionally stored in a layer in the web map.
http://<Your Web Server>/<app folder name>/index.html
"sharinghost": location.protocol + "//" + “<your organization name>.maps.arcgis.com
arcgis
is the name of the Web Adaptor: "sharinghost": location.protocol + "//" + "webadaptor.domain.com/arcgis"
"//js.arcgis.com/3.15"
and replace this portion of the reference with the url to your local install.
"//webadaptor.domain.com/arcgis/jsapi/jsapi"
where arcgis
is the name of your Web Adaptor.Note: If your application edits features in a feature service, contains secure services or web maps that aren't shared publicly, or generate requests that exceed 200 characters, you may need to set up and use a proxy page. Common situations where you may exceed the URL length are using complex polygons as input to a task or specifying a spatial reference using well-known text (WKT). For details on installing and configuring a proxy page see Using the proxy. If you do not have an Internet connection, you will need to access and deploy the ArcGIS API for JavaScript documentation from developers.arcgis.com.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Copyright 2013 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's license.txt file.
[](Esri Tags: ArcGIS Web Mapping Service information Public Utilities Water-Utility Utilities Water Gas Electric) [](Esri Language: JavaScript)