ers-long / elevationprofilenew Goto Github PK
View Code? Open in Web Editor NEWCMV Widget based on @goriliukasbuxton wonderful approach
CMV Widget based on @goriliukasbuxton wonderful approach
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...
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>
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.