Giter Site home page Giter Site logo

elevationprofilenew's People

Contributors

ers-long avatar

Watchers

 avatar

elevationprofilenew's Issues

I try to install your Elevation widget and I fail?

Hello I don t know what i make wrong:
I copy in the viewer.js
},
elevation: {
include: true,
id: 'elevationnew',
type: 'titlePane',
path: 'widgets/ElevationProfile',
canFloat: true,
title: '  Elevation Profile',
open: false,
position: 6,
options: {
map: true
}
},
and in the files in the repertoire widgets
ElevationProfile folder
gitattributes
gitgnore
Captire.PNG
ElevationProfile.js
README.md
Save and run...
profiletest

The adresse to try:
http://gis.icao.int/GISroutesmall/#/-47.0390/49.3203/4

I use that version:

<title>ICAO Viewer: Routes, Navaid Waypoint,SUAS, FIR SAR, Radar, Aerodrome, Edit Pts, Line</title>
	<link rel="stylesheet" type="text/css" href="//js.arcgis.com/3.14compact/esri/css/esri.css">
    <link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="./cmv/css/theme/dbootstrap/dbootstrap.css">
    <link rel="stylesheet" type="text/css" href="./cmv/css/main.css">
</head>
<body class="dbootstrap">
    
    <script type="text/javascript">
        var path = location.pathname.replace(/[^\/]+$/, '');
        var dojoConfig = {
            async: true,
            packages: [{
                name: 'viewer',
                location: path + './cmv/js/viewer'
            },{
                name: 'gis',
                location: path + './cmv/js/gis'
            },{
                name: 'config',
                location: path + './config'
            },{
                name: 'widgets',
                location: path + './widgets'
            }]
        };
    </script>
    <!--[if lt IE 9]>
        <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.3/es5-shim.min.js"></script>
    <![endif]-->
    <script type="text/javascript" src="//js.arcgis.com/3.14compact/"></script>
    <script type="text/javascript">
        // get the config file from the url if present
        var file = 'config/viewer', s = window.location.search, q = s.match(/config=([^&]*)/i);
        if (q && q.length > 0) {
            file = q[1];
            if(file.indexOf('/') < 0) {
                file = 'config/' + file;
            }
        }
        require(['viewer/Controller', file], function(Controller, config){
            Controller.startup(config);
        });
    </script>
</body>
Do you have an Idea why its doesn't work? Thanks for your help!

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.