gpt4 book ai didi

google-maps - 从 gps 文件在谷歌地图上创建路线的最有效方法是什么?

转载 作者:行者123 更新时间:2023-12-04 15:04:49 28 4
gpt4 key购买 nike

我想在 Google map 上显示我的自行车路线。所有坐标都由我的 GPS 记录并以 .gpx 文件格式存储。

我想知道什么是最好的方法/文件格式/存储/加载谷歌地图上的坐标。

这个不错example但它似乎没有工作。

最佳答案

您可能有兴趣查看以下来自 Google 地理开发者博客的新鲜文章:

  • Map your data with the Maps API and Fusion Tables

  • 引用介绍:

    If you have ever tried to plot a very large number of overlays on an API map you have probably reached a point at which the performance of your application begins to suffer. With one hundred or so markers, most browsers cope just fine, and clustering solutions like Fluster can help support more. But if you have thousands of overlays that you wish to show, rendering them individually can be problematic.

    The Maps API v3 now offers two solutions to this problem. If you have a large volume of geospatial data that can be served as KML, the KmlLayer class can render up to 50,000 features as an overlay that does not impact performance on any browser. To support data sets that are structured as tables, such as a database or spreadsheet, we have also now added the FusionTablesLayer class for rendering data stored in Google Fusion Tables.



    他们有一个非常有趣的例子,可视化上传到 Fusion Tables 的山地自行车道。

    关于google-maps - 从 gps 文件在谷歌地图上创建路线的最有效方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2914615/

    28 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com