Leaflet / Leaflet/Leaflet.VectorGrid

Only one point is rendered to a tile for Multi Points using MVT

Open
#55 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
676
Forks
202
PR merge metrics
No merged PRs in 30d

Description

It seems only one point from a multi point is rendered to single tile and all the others are ignored. If the multi point spans multiple tiles then each tile will contain a single point from the multi point.

Would it be possible to show all the points from the multi point feature?

Leaflet
image

OpenLayers
image

In each of the images, a road junction contains a multi point for the road signals (4 to 5 points) and OpenLayers shows all the points where Leaflet only shows a single point.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a MultiPoint feature in an MVT rendered through Leaflet.VectorGrid, using the attached Leaflet and OpenLayers results as comparison. Trace how the feature is converted into tile layers; done means every point in the MultiPoint is rendered within each tile it intersects.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.