Coder Social home page Coder Social logo

locusmap's Introduction

轨迹地图网页版

基于百度地图API的轨迹地图 alt

跨域问题

  • Chrome:Access to XMLHttpRequest at 'file:///*.gpx' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
    Chrome 添加启动参数:--allow-file-access-from-files。
  • Firefox:已拦截跨源请求:同源策略禁止读取位于 file:///*.gpx 的远程资源。(原因:CORS 请求不是 http)。
    about:config,security.fileuri.strict_origin_policy = false。

注意

若经常使用,请自己申请免费的百度地图 JS API 的Key。

问题

  • Firefox 只能删除第一个点

版本历史

V3.0 (2020-07)

  • 点击轨迹抓取最近点
  • 删除点
  • 保存轨迹

V2.0

  • 标记在轨迹上自动移动和控制

V1.0

  • 读取gpx文件,在百度地图上显示轨迹

locusmap's People

Contributors

sonichy avatar

Watchers

James Cloos avatar  avatar

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.