项目作者: reyemtm

项目描述 :
A site that visualizes GPS tracks over a simple map with an elevation chart overlay.
高级语言: JavaScript
项目地址: git://github.com/reyemtm/gpx-visualize.git
创建时间: 2019-08-26T00:15:37Z
项目社区:https://github.com/reyemtm/gpx-visualize

开源协议:MIT License

下载


GPX Visualize

A simple visualization for GPS tracks with a dark and light theme.

  1. //LIGHT THEME IS DEAFULT
  2. //?theme=dark&ride=link to CORS gpx file
  3. var themes = {
  4. dark: {
  5. mainColor: "#121212", //background color
  6. fontColor: "rgba(255,255,255,0.87)",
  7. trackColor: "#03dac5",
  8. chartColor: "rgba(3, 218, 197, 0.4)"
  9. },
  10. light: {
  11. mainColor: "#fff",
  12. fontColor: "#121212",
  13. trackColor: "rgba(178, 34, 34,0.8)",
  14. chartColor: "rgba(178, 34, 34,0.4)"
  15. }
  16. }