Commits

Anonymous committed 434f99c

Trackster: add left_offset attribute to LineTrack so that line tracks can be set in overview.

Comments (0)

Files changed (1)

static/scripts/trackster.js

     this.original_dataset_id = dataset_id;
     this.data_manager = new DataManager(CACHED_DATA, this);
     this.tile_cache = new Cache(CACHED_TILES_LINE);
+    this.left_offset = 0;
 
     // Define track configuration
     this.track_config = new TrackConfig( {