Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Apr 27, 2024. It is now read-only.
This repository was archived by the owner on Apr 27, 2024. It is now read-only.

Multiple itemizedlayers rendering mixing up #151

Open

Description

@dondos

I want to display around 150 individual markers on the map. The markers must be dynamic (they represent moving cars.)
I have created a single item itemizedlayer for each marker. Everything work fine for about an hour (or more, depending on the number of markers) until everything is mixed up.

This is how it looks when it's working correctly:
correct

and this is how it looks after an hour:
wrong

If I zoom in far enough to have only one marker visible, then it's rendered correctly. But, as soon as more than one marker is visible on the map, one of the markers is displayed correctly and the others ones starts flickering between their marker icons and the "dominant" one.

I am only using three markers (green, red and blue). The number label on the marker is created dynamically with canvas.drawText().

Activity

  1. hjanetzek commented on Apr 28, 2015

    @hjanetzek
    Member

    It may be possible that there is a texture leak in the marker layer.

    For your use-case I would recommend to write an optimized marker layer that uses a texture atlas to be able to batch the drawing of multiple marker. Or better: make a dynamic layout-layer with leaders to avoid overlaps :)

  2. added 2 commits that reference this issue on Nov 18, 2018
    ebd0795
    083fe22
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions