开发者

What's the most efficient way to create routes on google maps from gps files?

开发者 https://www.devze.com 2023-01-01 07:32 出处:网络
I want to display my bicycle routes on Google maps. All the coordinates are recorded b开发者_运维百科y my GPS and stored in .gpx file format.

I want to display my bicycle routes on Google maps. All the coordinates are recorded b开发者_运维百科y my GPS and stored in .gpx file format.

I'd like to know what's the best approach/file formats/storage/loading the coordinates on Google Maps.

This is a good example but it doesn't seem to be working.


You may be interested in checking out the following article, fresh from the Google Geo Developers Blog:

  • Map your data with the Maps API and Fusion Tables

Quoting the introduction:

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.

They have a very interesting example visualizing mountain bike trails uploaded to Fusion Tables.

0

精彩评论

暂无评论...
验证码 换一张
取 消