Select to view content in your preferred language

SimpleMarkerSymbol hidden behind Polygons

731
3
03-14-2023 05:28 AM
PhilippHaupt
New Contributor

SimpleMarkerSymbols are being set to not visible, when any Polygon (like buildings or a Polyline) is between the SimpleMarkerSymbol and the Views Camera. 

Is there any way to control the visibility by hand? 

The use case is the following:

I am trying to depict waypoints for a path trough a city. And I always want to show those points, even when they are behind buildings or other graphics.

0 Kudos
3 Replies
GreteSoosalu
Esri Contributor

Hi @PhilippHaupt 

Unfortunately, this currently not possible and I cannot suggest any workaround.

It is in our backlog, though, not yet planned for a release. I'll write your use case down, thanks for sharing it!

0 Kudos
GreteSoosalu
Esri Contributor

By the way, are the buildings/polygons/polylines through what you'd like to see the symbols transparent or opaque?  

0 Kudos
ThomasKnabl
Esri Contributor

Hi @PhilippHaupt,

ArcGIS Maps SDK for JavaScript 5.0 introduced improved occlusion handling for 3D labels and icons. This helps keep important waypoints and points of interest visible when they are obscured by buildings, making it easier to follow routes and maintain context in 3D city scenes.

You can read more about the enhancement here:

This capability is now also available in Scene Viewer:

Thanks for sharing this use case with us.

0 Kudos