Closed larsmaxfield closed 3 months ago
Solution:
Move ElevationLayerSpecification to /src/style/style_layer/elevation_style_layer (https://github.com/maplibre/maplibre-gl-js/commit/6d035eb8e3a97c6153453bd3571a885586f7a28b)
Specify properties directly (https://github.com/maplibre/maplibre-gl-js/commit/f169b9789f8c188074a87175e27f54213ec4139a)
Right now
ElevationLayerSpecification
is manually added tonode_modules/@maplibre/maplibre-gl-style-spec/dist/index.d.ts
as a copy ofHillshadeLayerSpecification
with property"type": "elevation"
for the switch-case in painter.ts/renderLayer to call drawElevation:Line 927:
Line 963*:
Possible options: