Skip to content

Commit

Permalink
Re-enabled rendering of every 25th vector point to achieve decent per…
Browse files Browse the repository at this point in the history
…formance
  • Loading branch information
Thomas Cariello committed Oct 3, 2023
1 parent 51cc7a7 commit 53935ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/js/map/layerbuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ export default function mapLayerBuilder(config, cache, store) {
counter += 1;

// Due to the large number of points to render for OSCAR, I am only rendering every 25th feature
// if (counter % 50 !== 0) return [];
if (counter % 25 !== 0) return [];

let arrowSizeMultiplier;
const radianDirection = feature.get('direction'); // was "dir"
Expand Down

0 comments on commit 53935ad

Please sign in to comment.