Skip to content

Type safe layer sources #680

Description

@sargunv

Layers currently accept any Source (in the type system), but usually layers can accept one of: raster, raster-dem, or vector (tiles, geojson, computed, etc) sources. This should be enforced by the type system.

It's not trivial because we have UnknownSource.

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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions