Skip to content

fix: Ignore z coordinates on gl line features#1488

Merged
manthey merged 1 commit into
masterfrom
line-z-values
Jul 10, 2026
Merged

fix: Ignore z coordinates on gl line features#1488
manthey merged 1 commit into
masterfrom
line-z-values

Conversation

@manthey

@manthey manthey commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Closes #1486.

We don't support z coordinates yet (ever?), so disable them until we do.

See also #963. There we claimed that we ignored z coordinates on lines, so this is fixing a bug.

One testing concern -- this doesn't seem to reproduce in the xvfb test environment; for instance changing the z value in the lines tutorial makes the lines vanish on both Chrome and Firefox, but not in the xvfb rendered chrome and firefox. As a result, there is no test added to ensure that this works.

Closes #1486.

We don't support z coordinates yet (ever?), so disable them until we do.

See also #963.  There we claimed that we ignored z coordinates on lines,
so this is fixing a bug.

One testing concern -- this doesn't seem to reproduce in the xvfb test
environment; for instance changing the z value in the lines tutorial
makes the lines vanish on both Chrome and Firefox, but not in the xvfb
rendered chrome and firefox.  As a result, there is no test added to
ensure that this works.
@manthey manthey merged commit 1c1826e into master Jul 10, 2026
12 checks passed
@manthey manthey deleted the line-z-values branch July 10, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebGL line feature renders nothing when vertices have a non-zero z (origin keeps z, so the line is clipped out of the parallel view volume)

1 participant