Skip to content

Line rendered with incorrect curvature in globe projection #6965

@akos-fulop-public

Description

@akos-fulop-public

maplibre-gl-js version: 5.16.0

browser: Firefox, Safari

Steps to Trigger Behavior

  1. Run linked example
  2. Place a straight object on your screen over the purple line at the center
  3. Note curvature of the line

Link to Demonstration

https://jsbin.com/gumiqalade/edit?html,output

Expected Behavior

The line is centered in a globe projection should be rendered as straight

Actual Behavior

The line curves away from the equator

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions