update HRP track

This commit is contained in:
2019-02-20 21:42:19 +01:00
parent 0617aac091
commit 28f80dbcee
3 changed files with 15194 additions and 9272 deletions

View File

@@ -92,8 +92,9 @@ class GeoJson extends Geo {
$asTracks = array('features'=>array());
foreach($this->asTracks as $asTrackProps) {
//Color mapping
switch($asTrackProps['color']) {
case 'LightGray': continue 2;
case 'LightGray': continue 2; //discard track
case 'Magenta': $sType = 'off-track'; break;
case 'Red': $sType = 'hitchhiking'; break;
default: $sType = 'main'; break;