Skip to content

lineOffset returns NaN for some LineStrings #1361

@mllava

Description

@mllava

Hi,

I'm having an issue with lineOffset. Please see the example here: https://jsfiddle.net/y4xfzxmx/3/

For the given LineString, lineOffset returns NaN from coordinate 7 onwards, until one before last; even happens with distance = 0. It only happens with a few lineStrings that I'm working with.

Any clue why this could be happening?

Many thanks in advance!
Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions