mauroc / squiddio_pi

squiddio_pi
3 stars 13 forks source link

Show and Hide POI and Show Text #141

Closed rgleason closed 3 years ago

rgleason commented 3 years ago

1 .When "Show Text" is unchecked while using POI Option oDraw textpoint, text is not shown. However when you change to Opencpn Wpts option, the POI text is shown even when "Show Text" is unchecked.

  1. Show Text check/uncheck is unresponsive in POI Option OpenCPN waypoint.

  2. Hide POI should hide any Ocpn_Draw Textpoint AND any oDraw textpoint.

  3. When the entiree world db of POI is downloaded the Hide Local POI does not hide all the other worldwide POI.

  4. There is no way to "Hide All POI" maybe we need this seleection?

rgleason commented 3 years ago

I am going to close this now. Resolved!

mauroc commented 3 years ago

1 .When "Show Text" is unchecked while using POI Option oDraw textpoint, text is not shown. However when you change to Opencpn Wpts option, the POI text is shown even when "Show Text" is unchecked.

Correct. This is a known issue, and it is due to the fact that before oDraw became available, there was no way to programmatically hide the text through the plugin API. Then oDdraw came about and it looked like a much more viable approach, so I have been encouraging users to select that rendering option. It would be my preference to eliminate POIs as Opencpn Wpts altogether, if it wasn't that oDraw is not always present. Alternative , I could make a PR to OCPN to introduce the option to hide text from wpts from within a plugin

rgleason commented 3 years ago

That might be a good work around, do you think you could contact Jon Gough about it? jongough on github

rgleason commented 1 year ago

We now have the API 117 for this.
https://github.com/jongough/testplugin_pi/issues/253#issuecomment-1484134699

mauroc commented 1 year ago

noted! Thank you