[OpenLayers-Trac] [OpenLayers] #1272: GPX Format class
OpenLayers
trac at openlayers.org
Wed May 14 16:13:15 EDT 2008
#1272: GPX Format class
------------------------+---------------------------------------------------
Reporter: crschmidt | Owner: edgemaster
Type: feature | Status: assigned
Priority: minor | Milestone: 2.7 Release
Component: Format | Version: 2.5
Resolution: | Keywords:
State: Review |
------------------------+---------------------------------------------------
Comment (by jpulles):
In GPX.js the following lines
{{{
50 for (var j = 0; j < segs.length; j++) {
51 var track = this.extractSegment(segs[i], "trkpt");
}}}
should be changed because of the incorrect usage of i in segs[i]:
{{{
50 for (var j = 0; j < segs.length; j++) {
51 var track = this.extractSegment(segs[j], "trkpt");
}}}
Regards,
John.
--
Ticket URL: <http://trac.openlayers.org/ticket/1272#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list