Skip to content

Error with coordinates() when zeros after decimal point #126

Description

@antitim

Hi, thanks for this library.
An error occurs while retrieving page coordinates 'KAAD-LP'.

wiki().page('KAAD-LP')
    .then(page => page.coordinates())
    .then(console.log);

Probably a problem with the coordinate format:
37/58/57.00|N|120|22|43.00|W

There are zeros after the decimal point

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions