Skip to content

Calculation of pixel_centre is invalid #303

@PeterJCLaw

Description

@PeterJCLaw

Perhaps I'm misunderstanding what the pixel_corners property returns, however it looks like the pixel_centre value makes the assumption that they're the pixel-aligned square bounding box of the marker rather than the pixel coordinates of the N corners of the marker.

Computing the centre of such a bounding box is highly unlikely to be useful to any consumer given that there are no guarantees that it matches the centre of the marker itself.

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