• sjoerd72

    (@sjoerd72)


    Great plugin but please – test better – you should test with tracks that do not have time/date/elevation per point.

    Please update wp-gpx-maps-utils.php (lines 379 – 383):

    $points->maxEle      = (count($_ele) > 0 ? max( $_ele ) : 0);
    $points->minEle      = (count($_ele) > 0 ? min( $_ele ) : 0);
    $points->totalLength = max( $_dist );
    $points->maxTime     = (count($_time) > 0 ? max( $_time ) : 0);
    $points->minTime     = (count($_time) > 0 ? min( $_time ) : 0);

    If tracks do not contains times(speed) or elevation the code breaks

  • The topic ‘test your updates better’ is closed to new replies.