aureg / gpxviewer Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gpxviewer
Automatically exported from code.google.com/p/gpxviewer
Bug originally reported as a comment here
http://notions.okuda.ca/geotagging/projects-im-working-on/gpx-viewer/#comments
Hi,
I have found a small error in file loadgpx.4.js
(http://okuda.ca/googlemaps/loadgpx.4.js).
The error occurs in Internet Explorer with test file lewis_clark.gpx
(http://www.travelbygps.com/guides/lewis_clark/lewis_clark.gpx).
In function CreateMarker empty nodes are ignored by testing for nodeType =
1 (elements only).
However, an elemement "link" may still have no children, such as in
lewis_clark.gpx:
In that case, firstChild is null and an error occurs (firstChild.nodeValue).
To capture this exception, an extra test is needed:
115 // Ignore empty nodes
116 if (children[i].nodeType != 1) continue;
117 if (children[i].firstChild == null) continue; // ";
bye,
Gerben Abbink
www.xmlblueprint.com
Original issue reported on code.google.com by [email protected]
on 31 Jul 2007 at 4:15
What steps will reproduce the problem?
Use GSPBabel to merge two or more GPX files togther.
FoxTrot/Tango GPS will open the merged output file perfectly, but gpxviewer
just loads the correct map location, with no track info at all - ie no track is
drawn.
What is the expected output?
a track to be drawn.
What do you see instead?
Nothing.
What version of the product are you using? On what operating system?
The Latest with the google v3 mod.
Please provide any additional information below.
I don't know enough about the XML side of things, but this clearly won't load
any GPX files generated by GPSBabel.
Keep up the good work ;)
Original issue reported on code.google.com by [email protected]
on 20 May 2012 at 11:58
I have a suggestion to show a popup when the user clicks on a track point
with the details (lat, lon, etc.).
This would most likely best be done by handling the click event and finding
the closest track point to that location. This may not be practical in
Javascript, but it is an interesting idea.
It would probably require storage of the track points in a more efficient
format for finding the nearest point, but even a brute force methods might
work a small enough set of points.
Original issue reported on code.google.com by [email protected]
on 31 Jul 2007 at 4:33
The current version isn't compatible with v3 of the maps API. I've updated it
in a repository hosted at GitHub: http://christopherpeplin.com/posts/gpxviewer/
Original issue reported on code.google.com by [email protected]
on 29 May 2011 at 3:31
Originally reported in a comment here
http://notions.okuda.ca/geotagging/projects-im-working-on/gpx-viewer/#comments
I discovered a minor bug in the javascript file, on line 240:
if ( (minlat == maxlat) && (minlat = 0) )
This is the correct:
if ( (minlat == maxlat) && (minlat == 0) )
Original issue reported on code.google.com by [email protected]
on 31 Jul 2007 at 4:17
Well, this is not actually an issue; I'm searching for a better way for
this : I have several maps to display so I use a XML renamed GPX file per
map of course and also one HTML file per map; the "issue" is that all
these HTML files are identical except the name of the XML file they call.
My question : how can I invoque an unique HTML file passing to it the XML
file as parameter ?
This is how I call the mal
<TD WIDTH="10%" VALIGN="MIDDLE"><P ALIGN="CENTER"><a
href="Itineraires/080802.html">GPX</a></TD>
and in attatch the invoqued HTML
Thanks a lot in advance
Original issue reported on code.google.com by [email protected]
on 3 Aug 2008 at 7:58
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.