{ Dev Farm }

Web & Windows Development

Bug displaying multi track files

Home Forum Wp Gpx Maps Request a New Feature Bug displaying multi track files

Stai vedendo 1 articolo (di 1 totali)
  • Autore
  • #24470 Reply

    Glad to see you updated the cache with filetime per my previous request, thank you!

    This time I have a bug report. Took me a while to figure out why some tracks weren’t displaying correctly (or at all). I’ll keep it short, I’m sure you get it.

    In “Print Track” lastCut and i is used to slice points for path. When having several tracks no point is pushed for null which makes the two arrays “out of sync”..

    in …

    for (i=0; i < mapData.length; i++)  {	 
    if (mapData == null) { 

    … I did a quick fix by adding a dummy-point and also adjusting the lastCut var …

    var p = new google.maps.LatLng(0, 0); 

    … which sorted it.

    A disclaimer from my side is that I made quite a few edits to your code without keeping track of them so I have not updated to latest version. I did however tried the latest JS on my site and issue persisted.


Stai vedendo 1 articolo (di 1 totali)
Rispondi a: Bug displaying multi track files

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:

:bye:  :good:  :negative:  :scratch:  :wacko:  :yahoo:  B-) 

Non è possibile lasciare nuovi commenti.