Skip to content

[Proposal] A tiled FeatureGeometryLayer requesting and refining data based on zoom level #2587

@airnez

Description

@airnez

We lack of a way to display vector tile geometries depending zoom level. (except using rasterization with ColorLayers)
It would be nice to be able to refine geometries when zooming in. Here is the usual GIS data tiling schema for clarity :

Image

image source

Context

Depending on zoom level, a vector tile service might simplify geometries like in this schema :

Image

image source

Right now, FeatureGeometryLayers only request data once, at the layer min zoom level. If no min level is set, the data will be loaded with poor precision and will never refine. But setting a min level makes the layer disappear when dezooming, which is annoying when dealing with large-scale datasets.

This is mentionned in this issue : 2153

Description of the proposal

We could either:

  • Modify the FeatureGeometryLayer API to enable / disable this behavior
  • Implement a new layer with this behavior

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