-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2f04f06
commit fbd64b6
Showing
18 changed files
with
74,447 additions
and
29 deletions.
There are no files selected for viewing
3,913 changes: 3,913 additions & 0 deletions
3,913
data-path-kml/oakland-gran-fondo-mini-fondo-13.5-mile.kml
Large diffs are not rendered by default.
Oops, something went wrong.
32,281 changes: 32,281 additions & 0 deletions
32,281
data-path-kml/ogf-100-mile-construction-on-palomares.kml
Large diffs are not rendered by default.
Oops, something went wrong.
32,281 changes: 32,281 additions & 0 deletions
32,281
data-path-tcx/OGF - 100 Mile Construction on Palomares.tcx
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
|
||
tcx to kml | ||
|
||
http://veloroutes.org/upload/ | ||
|
||
|
||
http://tcxtools.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -221,6 +221,8 @@ | |
|
||
}; | ||
|
||
|
||
|
||
KML.readFile = function( files ) { | ||
|
||
var reader; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,7 @@ | |
|
||
''; | ||
|
||
|
||
return menuDetailsTilesData; | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<!doctype html> | ||
<html lang=en > | ||
<head> | ||
<meta charset=utf-8 > | ||
<title>Elevations Get2 Select R1</title> | ||
<meta name=viewport content='width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no' > | ||
<meta name=description content='Core use GitHuB API to get file names and folders from GitHub Server. A remote LS or DIR service.' > | ||
<meta name=keywords content='cartography,maps,Jaanga,GitHub API,CSS,HTML,JavaScript,GitHub,FOSS' > | ||
<meta name=date content='2016-10-02' > | ||
</head> | ||
<body> | ||
<!-- | ||
<script src=https://cdnjs.cloudflare.com/ajax/libs/showdown/1.4.3/showdown.min.js ></script> | ||
--> | ||
<script src=../../elevations-get2/0-def-defaults2/def-defaults2-r1.js ></script> | ||
<script src=../../elevations-get2/1-cor-core2/cor-core2-r1.js ></script> | ||
<script src=../../elevations-get2/3-api-map-api2/api-map-api2-r1.js ></script> | ||
<script src=../../elevations-get2/9-kml-kml2/kml-kml2-r1.js ></script> | ||
<script> | ||
|
||
// add user and branch | ||
|
||
KML.folders = [ | ||
'data-path-csv', | ||
'data-path-kml', | ||
'data-path-tcx', | ||
'test' | ||
]; | ||
|
||
KML.defaultFolder = 1; | ||
|
||
KML.urlAPITreeContents = 'https://api.github.com/repos/jaanga/terrain3/git/trees/gh-pages?recursive=1'; | ||
|
||
// KML.defaultFile = '../../elevations-data/elevations-data-04/san-francisco_10_163_394_3_3_450_450_.json'; | ||
KML.defaultFile; // if no default, select a random file | ||
|
||
// KML.extension = '.json'; | ||
KML.extension = '.kml'; | ||
|
||
// KML.searchInFolder = 'elevations-data-04/'; | ||
KML.searchInFolder = KML.folders[ KML.defaultFolder ]; | ||
|
||
// KML.urlBase = '../../'; | ||
KML.urlBase = 'https://jaanga.github.io/terrain3/'; | ||
|
||
|
||
init(); | ||
|
||
function init() { | ||
|
||
COR.taglineHeader = 'Select a file!' + b; | ||
|
||
COR.initLeftMenu(); | ||
|
||
COR.menu.innerHTML = | ||
|
||
COR.getMenuDetailsHeader() + | ||
|
||
API.getMenuDetailsAPIKey() + | ||
|
||
KML.getMenuDetailsSelectFile() + | ||
|
||
API.getMenuDetailsMapClick() + | ||
|
||
COR.getMenuDetailsObjectProperties( COR.defaults ) + | ||
|
||
COR.getMenuDetailsTemplate() + | ||
|
||
COR.getMenuDetailsAbout() + | ||
|
||
COR.getMenuFooter() + | ||
|
||
b; | ||
|
||
KMLdetailsSelectFile.setAttribute('open', 'open'); | ||
|
||
APIclickDetails.setAttribute('open', 'open'); | ||
|
||
if ( window.self !== window.top ) { hamburger.style.left = '0px'; } | ||
|
||
KML.getGitHubAPITreeContents(); | ||
|
||
COR.getPlaceDefaults(); | ||
|
||
API.onEventAPIKeyUpdate(); | ||
|
||
} | ||
|
||
|
||
KML.onLoadJSONFile = function( xhr ) { | ||
|
||
COR.getPlaceDefaults(); | ||
|
||
console.log( 'file loaded', KML.fileName ); | ||
|
||
API.setCenter( COR.place.latitude, COR.place.longitude, true ) | ||
|
||
} | ||
|
||
|
||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.