Skip to content

colliding z-index for bottom and top layers #12

@ruggerscottso

Description

@ruggerscottso

I've defined several base maps (bottom layers) and about a dozen data layers (top layers), and have found that I get conflicting z-index ordering when selecting the layers. I've the plugin rendering into two panes of an accordion panel and both start with a z-index of 1. That's fine for when I only want to display a base map. Once I start adding data layers, they start getting rendered below the base map; base map X has z-index of 4 and data layer has z-index of 2. I'm not sure how to programmatically tell the bottom and top layers to start at a given z-index or how to ensure the top layers always have a min z-index of one greater than the max of the bottom layers. Could you provide any fixes or suggestions?

I've attached an image from firefox dev tool inspector. The highlighted div is the base map layer.
inspector

Scott

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions