Skip to content

Collision filter, offsets #10

@vaduga

Description

@vaduga

Mapgl uses CollisionFilterExtension to dynamically filter icons,labels,base circles which are too close to each other. This is done on the GPU, so it is extremely fast.

It is proved to be effective on large volumes of data. See examples with filter off/on down below.

Problem:

  • On moderate sized network users experience difficulties with labels, icons 'dissapearing'. Onboarding process is hard to explain that they are not gone, just visible under different zoom level.
  • Offsets panel configs for text labels and icons is limited because doesn't work as expected with CollisionFilter being 'on'. Move icon too far - and it dissapears, etc.

Current solution:

  • You can compensate the lack of points visibility by using Cluster icons with stats, that are always visible. This is available in the full, premium plugin version.

Possible other solutions:

  • icons/labels/circles can be grouped in various combinations to be filtered out against each other. Right now they are completely separate groups with collision filtering enabled.
  • in some cases we could disable CollisionFilter, or limit its functionalities
Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions