How to display attribution when using @maplibre/maplibre-gl-native? #3930
Answered
by
acalcutt
rohithrangaraju-tomtom
asked this question in
Q&A
-
|
I'm using @maplibre/maplibre-gl-native in a TypeScript project to render static maps. My style includes attribution in the source, but it doesn't appear in the output image. How can I ensure attribution is displayed? Do I need to manually overlay it using a canvas library? If so, is there a recommended approach? Thanks for any guidance! |
Beta Was this translation helpful? Give feedback.
Answered by
acalcutt
Nov 7, 2025
Replies: 1 comment 1 reply
-
|
In tileserver-gl node.js we used canvas to overlay an attribution by config option |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
louwers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In tileserver-gl node.js we used canvas to overlay an attribution by config option
https://github.com/maptiler/tileserver-gl/blob/master/src/render.js#L315-L337