Skip to content

Commit

Permalink
chore: try to make line label work in countour demo
Browse files Browse the repository at this point in the history
  • Loading branch information
claustres committed Jul 11, 2024
1 parent 9328121 commit 57b938d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion demo/contourlines.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ async function run () {
dataLayer: "contour",
symbolizer: new protomapsL.LineLabelSymbolizer({
labelProps:["height"],
}),
fill: 'black',
width: 2,
font: '400 12px sans-serif',
stroke: 'red'
}),
filter: (z,f) => { return f.props.nth_line in [5, 10] == true}
}
]
Expand Down

0 comments on commit 57b938d

Please sign in to comment.