Skip to content

Documentation of the [lat, lng] tuple #152

@wiese

Description

@wiese

Many methods (e.g. cellToLatLng()) return a tuple of latitude, longitude.

They are documented as returning a variable-length array of numbers (number[]), while in practice they should return a fixed-length array.

Is there a reason not to document this as [number, number] instead? This could help in TS projects with strictly configured index access.

Thanks

Further reading

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