Skip to content

getResolution doesn't accept edge indexes #236

Description

@isaacbrodsky

As reported in uber/h3#1223
The code in h3-js checks that the input is a cell, but the docs say it accepts any index: https://h3geo.org/docs/api/inspection#getresolution
The check should rather be isValidIndex.

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