Code Monkey home page Code Monkey logo

mapapps-elevation-profile's Introduction

Elevation Profile

This bundle enables the ElevationProfile Widget from Esri (new in ArcGIS API for JavaScript 4.18) in map.apps. It allows a user to input a polyline and calculates an elevation profile along this line.

Screenshot App

Sample App

https://demos.conterra.de/mapapps/resources/apps/downloads_elevationprofile4/index.html

Installation Guide

Requirements:

  • map.apps 4.11.0 or later

dn_elevationprofile Documentation

Development Guide

Define the mapapps remote base

Before you can run the project you have to define the mapapps.remote.base property in the pom.xml-file: <mapapps.remote.base>http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%</mapapps.remote.base>

Other methods to to define the mapapps.remote.base property.

  1. Goal parameters mvn install -Dmapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%

  2. Build properties Change the mapapps.remote.base in the build.properties file and run: mvn install -Denv=dev -Dlocal.configfile=%ABSOLUTEPATHTOPROJECTROOT%/build.properties

mapapps-elevation-profile's People

Contributors

dpayk avatar matthiasstein avatar mrmufflon avatar schneiderlars avatar sholtkamp avatar slim01 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

matthiasstein

mapapps-elevation-profile's Issues

Starting the Elevation Chart after Drawing will Fail...

... when using an ESRI JS API prior to 3.18.
They changed the class ElevationProfile.js

We are calling this._updateProfile, which was introduced only in 3.17, together with the "busyIndicator".

If you like reading minified code, you can see the difference here:
3.17

3.18

Support Localization for Display Units

At the moment, the esri/dijit/ElevationProfile Widget does not support different languages to display the selected units.
(Temporary) Solution: Patch the esri/dijit/ElevationProfile/UnitsConversion.js and add i18n support.

Start Tool with activation

After starting the tool, the user needs to click "Neues Profil" before creating the profile. The workflow would be more efficient if it was started after activation directly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.