ArcGIS Video Tour To-Do list
To Do:
- Internazionalize
- Remove the auto center
- Calculate and show the speed
- Add how to use it documentation
- Fix mobile version (route does not show)
- Add function to smooth the movement
- Clean up and translate the code
var map, csv; | |
require([ | |
"esri/map", | |
"esri/layers/CSVLayer", | |
"esri/Color", | |
"esri/symbols/SimpleMarkerSymbol", | |
"esri/renderers/SimpleRenderer", | |
"esri/InfoTemplate", | |
"dojo/domReady!" | |
], function( |
ArcGIS Video Tour To-Do list
To Do:
{ | |
"operationalLayers": [{ | |
"url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer", | |
"id": "World_Imagery_96", | |
"visibility": true, | |
"opacity": 0.14, | |
"title": "World Imagery", | |
"itemId": "10df2279f9684e4a9f6a7f08febac2a9" | |
}, { | |
"id": "csv_9076", |
/* | |
You need to set an inputData param called 'link' | |
with the URL field you want to parse. | |
More info: https://zapier.com/help/code/#data-variables | |
*/ | |
fetch(inputData.link) | |
.then(function(res) { | |
return res.text(); | |
}) | |
.then(function(body) { |
// This code requires that you set the ID of the tweet that you want to Like as an input variable called "tweet_id". Learn more at https://zapier.com/help/code/#data-variables | |
// INSTUCTIONS FOR SETTING THESE REQUIRED VARIABLES: After you create a new app at https://apps.twitter.com/, click on the name of the app to open it. Then, select the "Keys and Access Tokens" tab. | |
var twitterApplicationConsumerKey = ''; // Located in the "Application Settings" section | |
var twitterApplicationConsumerSecret = ''; // Located in the "Application Settings" section | |
var twitterApplicationAccessToken = ''; // Located in the "Your Access Token" section | |
var twitterApplicationAccessTokenSecret = ''; // Located in the "Your Access Token" section | |
A Pen by Raul Jimenez Ortega on CodePen.
<?xml version="1.0" encoding="UTF-8"?><gpx creator="Wikiloc - https://www.wikiloc.com" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"><trk><name>Lanzarote - Playa Blanca - Los Ajaches - Papagayos</name><cmt></cmt><desc></desc><trkseg><trkpt lat="28.868358" lon="-13.827063"><ele>105.9</ele><time>2014-04-17T16:41:52Z</time></trkpt><trkpt lat="28.868456" lon="-13.827006"><ele>98.7</ele><time>2014-04-17T16:42:13Z</time></trkpt><trkpt lat="28.868458" lon="-13.827008"><ele>97.7</ele><time>2014-04-17T16:42:23Z</time></trkpt><trkpt lat="28.868491" lon="-13.827037"><ele>95.8</ele><time>2014-04-17T16:42:35Z</time></trkpt><trkpt lat="28.868495" lon="-13.827001"><ele>96.3</ele><time>2014-04-17T16:42:53Z</time></trkpt><trkpt lat="28.868495" lon="-13.826953"><ele>96.3</ele><time>2014-04-17T16:43:26Z</time></trkpt><trkpt lat="28.868477" lon="-13.826887"><ele>92.9</el |
<?xml version="1.0" encoding="UTF-8"?><gpx creator="Wikiloc - https://www.wikiloc.com" version="1.1" xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"><trk><name>Lanzarote - Playa Blanca - Los Ajaches - Papagayos</name><cmt></cmt><desc></desc><trkseg><trkpt lat="28.868358" lon="-13.827063"><ele>105.9</ele><time>2014-04-17T16:41:52Z</time></trkpt><trkpt lat="28.868456" lon="-13.827006"><ele>98.7</ele><time>2014-04-17T16:42:13Z</time></trkpt><trkpt lat="28.868458" lon="-13.827008"><ele>97.7</ele><time>2014-04-17T16:42:23Z</time></trkpt><trkpt lat="28.868491" lon="-13.827037"><ele>95.8</ele><time>2014-04-17T16:42:35Z</time></trkpt><trkpt lat="28.868495" lon="-13.827001"><ele>96.3</ele><time>2014-04-17T16:42:53Z</time></trkpt><trkpt lat="28.868495" lon="-13.826953"><ele>96.3</ele><time>2014-04-17T16:43:26Z</time></trkpt><trkpt lat="28.868477" lon="-13.826887"><ele>92.9</el |