Skip to content

Annotations position translation? #124

Description

@MattFoley

Hi, I'm trying to mimic an instance of Google Maps with a quad tree tile provider I wrote for use with this library. The tiles are viewable correctly and zoom in and out correctly, but my annotations are not positioned correctly.

My annotation lat/longs are identical to the Google Maps data/instance, and they seem to be in the correct positions relative to each other except they are super close, as if they're zoomed out incredibly far.

I believe this is because the Google Maps instance's lat/long is normalized between 0 and 1. Is this an issue with my projection then? Any ideas how I would go about fixing it? I could provide example code, but I'm not sure where to start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions