Elevation Profile is a configurable app template used to display the elevation profile for a selected feature or a measured line along with a web map. This template uses the Profile geoprocessing service to generate the elevation values along the profile. View the Profile service developer documentation for additional details.
Use the Elevation Profile to present content from a web map and configure it using the following options.
- Choose the title, description, and color theme.
- Configure a splash screen with customized text that displays when the app is first opened.
- Fully customize the color of the profile widget.
- Capturing URL parameters and using them in your application.
- Specify a custom profile service via URL. By default, this application uses the Elevation Analysis Profile Task to generate elevation values along the profile.
- Enable a basemap gallery, legend, opacity slider, and share dialog.
- Download and unzip the .zip file or clone the repository.
- Web-enable the directory.
- Access the .html page.
- Start writing your template!
- To deploy this application, download the template from Portal/ArcGIS Online and unzip it.
- Copy the unzipped folder containing the web app template files, such as index.html, to your web server. You can rename the folder to change the URL through which users will access the application. By default the URL to the app will be
http://<Your Web Server>/<app folder name>/index.html
- 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
arcgisis the name of the Web Adaptor:
"sharinghost": location.protocol + "//" + "webadaptor.domain.com/arcgis"
"//js.arcgis.com/3.13"and replace this portion of the reference with the url to your local install.
- For example:
arcgisis the name of your Web Adaptor.
- 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.
For additional customization options view the wiki.
- Notepad or HTML editor
Found a bug or want to request a new feature? Please let us know by submitting an issue.
Anyone and everyone is welcome to contribute.
Copyright 2012 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
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.