Skip to content

Tracking issue for full vector tile styling support #280

@Maximkaaa

Description

@Maximkaaa

We want to achieve parity of styling options between Galileo and MapLibre vector tile styles: https://docs.maptiler.com/gl-style-specification/. These are the features that should be implemented to achieve this:

  • Configuring min/max zoom levels (or, rather, resolution) for a layer (style rule)
  • Property values interpolation for numbers and colors
    • Interpolation based on zoom level (using stops, steps, functions)
    • Interpolation from a feature property value (including match, get, case expressions)
  • Styling and representation
    • Using icons for points and labels
    • Line styling (caps, joins, mitters)
    • Placement properties (particularly, placing labels along the lines)
    • Patterns and gradients
    • Icon halos
  • "in" expressions for text attributes
  • Building 3d extrusion

There is an example of conversion of map-tiles style JSON into Galileo vector tile layer here: https://github.com/galileo-map/galileo_vt_styler/blob/main/src/maptiler_style/converter.rs . Ultimately, we want to have a separate crate (in a separate repo under the organization) that will contain an implementation for MapBoxLayer, that you can initialize by giving it just the difinition of the style, and it will create the layer, and allow the user to easily configure the Map and the Renderer (for example, for max/min zoom levels, sky colors etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions