Skip to content

Commit

Permalink
GetLegendGraphic for Gelände Tirol
Browse files Browse the repository at this point in the history
  • Loading branch information
simon04 committed Jan 16, 2024
1 parent 4a18e41 commit 4217d87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ const allMapLayers: Record<string, L.Layer> = {};
layers: id,
format: 'image/jpeg',
maxZoom: 20,
attribution: attribution.join(', '),
attribution: [
...attribution,
`<img src="https://gis.tirol.gv.at/arcgis/services/Service_Public/terrain/MapServer/WMSServer?request=GetLegendGraphic%26version=1.3.0%26format=image/png%26layer=${id}">`,
].join(', '),
}
);
layers.addBaseLayer(layer, title);
Expand Down

0 comments on commit 4217d87

Please sign in to comment.