views:

275

answers:

1

I want to display my bicycle routes on Google maps. All the coordinates are recorded by 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.

+3  A: 

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

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.

Daniel Vassallo