Skip to content

allow pmtiles styles to map aesthetics to data properties? #76

Description

@cboettig

the examples in PMTiles here show aesthetics like fill color as literal hex color values in the style, rather than being mapped to data columns:

paintRules(
  layer,
  fillColor = "#0033ff66",
  color = "#0033ffcc",

Some pmtiles rendering tools seem to support an additional syntax to map attributes to columns, e.g. https://maplibre.org/maplibre-style-spec/expressions/#get, as seen in this example https://maplibre.org/maplibre-gl-js/docs/examples/data-driven-lines/. Is it possible to support this?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions