Forum Academy Marketplace Showcase Pricing Features

Mapbox HTML Map not able to render as pdf

Hi bubblers,
I have a HTML Element that generates a Mapbox map including a track (based on an uploaded gpx file):
Bildschirmfoto 2022-01-13 um 18.43.03
My question is how can I render it to an image or pdf?
I used all the plugins available, text can be generated but not this HTML element. It is always empty.
Second solution would be to use google map functionality, but here I don’t know how to include a gpx file containing the track. Google map seems to be printable.
Thank you for any help!!!
Lars