maplibre / maplibre-native-qt

MapLibre Native Qt Bindings and Qt Location Plugin
https://maplibre.org/maplibre-native-qt/docs/
38 stars 14 forks source link

add icon in map #145

Closed Xinyu-HD closed 5 days ago

Xinyu-HD commented 1 month ago

I try to add an image to the map at the specified coordinates using addImage, but the error "Image has to contain an ID." keeps appearing. How can I solve this? I've put the code below.

image image image

ntadej commented 1 month ago

Please do not open duplicate tickets, it will not solve your issue any faster.

I will try to have a look in the next days, but I am very busy at the moment. What would help is to provide a minimal reproducer so it can also be included as a test. Please do not put code in screenshots but use code blocks instead.