Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

add padding to annotation tiles #1673

Closed

Description

@ansis

In order to properly sort markers across tiles (#988) we need annotation tiles to also include features that are outside of the tile's boundaries, but within a certain distance of the tile edge.

This will let us clip markers to tile boundaries at draw time to avoid incorrect overlap across tiles. Since markers near edges are included in both tiles they will be drawn seamlessly. Half the marker will be drawn by one tile and half by the other. This is how the -js implementation works.

This should be done after #1666 and #1655 are merged.

This will fix
screen shot 2015-06-02 at 11 28 57 am

After implementing, change these two lines:

// TODO remove the `&& false` when is #1673 implemented

// TODO remove the `|| true` when #1673 is implemented

Activity

  1. incanus commented on Sep 1, 2015

    @incanus
    Contributor

    This is stale, right @ansis?

  2. ansis commented on Sep 3, 2015

    @ansis
    ContributorAuthor

    I think this still needs to be done. But it is unblocked now

  3. added
    GL JS parity
    on Oct 14, 2015
  4. added
    Core
    on Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreGL JS parity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions