Skip to content
This repository was archived by the owner on Sep 4, 2021. It is now read-only.
This repository was archived by the owner on Sep 4, 2021. It is now read-only.

geocodePosition() fails for equator or prime meridian #92

@jgfoster

Description

@jgfoster

I set the location to the Royal Observatory Greenwich and then called geocodePosition(). This resulted in an error: "Error: invalid position: {lat, lng} required" because one of the values was zero.

Since 0,0 is in the ocean, that seems a reasonable error, but it seems that { lat: 51.4875, lng: 0 } should not be an error.

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