kokuda / gpxviewer

Client-side Javascript GPX file viewer using Google Maps
http://notions.okuda.ca/geotagging/projects-im-working-on/gpx-viewer/
MIT License
7 stars 1 forks source link

Typo when comparing minlat to 0 in CenterAndZoom #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 kok...@gmail.com on 31 Jul 2007 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by kok...@gmail.com on 31 Jul 2007 at 4:25