GeoDataPlacemark labels not showing after using setStyle()

Tristan Batchelor supermepsipax at gmail.com
Mon Oct 16 20:08:30 BST 2023


Hey there,

I'm having an issue with placemark labels anytime I try to customize their
style and I'm not sure if this is the right place to ask for help.

I've made a marble plugin for rqt in ROS2 and since the most up to date
version of Qt for the version of Ros I am using is 5.12, I am unable to
build the latest version of Marble (currently on applications /19.08) from
source unfortunately so I hope that isn't the solution to my problem.

Basically my problem is, anytime I create a GeoDataPlacemark, and assign it
a custom style using setStyle(), the labels/icons will not show up. I've
followed the developer examples and can never get the labels or icons to
show, but the other elements, like fill color/alpha, and line
color/thickness apply fine.

I don't know if this was an issue that has since been solved, but I figured
I would ask to see if their is some form of solution. I'm attaching a
screenshot of the GeoDataPlacemark that has an applied style (region in
red), and another GeoDataPlacemark that has no style applied. I'll also
attach my minimum reproducible example.

Again, don't know if this is the right place to ask, but any help would be
appreciated.

Cheers,
Tristan

[image: image.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20231016/fa1384ab/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 278679 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20231016/fa1384ab/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 3354 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20231016/fa1384ab/attachment-0001.cpp>


More information about the Marble-devel mailing list