Select to view content in your preferred language

Enterprise 10.8 Scene Viewer Pop up Config (z-index not working?)

343
0
06-08-2022 06:45 PM
HeesuLee
Occasional Contributor

We are currently using Enterprise 10.8 in our project, and while testing out how a layer's custom pop up (written in html) looks in a Scene Viewer, I noticed that an item in a p tag was not being overlaid on top of an img tag. And as we are using Enterprise 10.8, we do not have the ability to configure the pop up within the Scene Viewer itself, unlike AGOL. (We only have the option to toggle the pop up on or off, all the pop up configuration must be done in the layer item). 

In Map Viewer, the custom pop up works as written - the p tag is overlaid on top of the img tag.

We are using z-index to style the html (example html below), but my guess is that z-index works in Map Viewer, but not in a Scene Viewer. 

Does z-index not work for Scene Viewer in Enterprise 10.8?

Is there a way for the Scene Viewer's custom pop up to behave like the Map Viewer's pop up?

 

An example of the html is like so:

<div style="position: relative>

  <img src="examplePath.png" style="position:absolute; z-index:1; display:block"/>

  <p style="position:absolute; z-index:2;">{example_field}</p>

</div>

0 Kudos
0 Replies