Cluser-Style: labels überlagern icon

Issue #1108 resolved
Stolz created an issue

Hallo Community,

bei geclusterten WFS-Layern (styleGeometryType:Point) überlagert das Label für die Anzahl der geclusterten Features die nicht-geclusterten Icons/Features:

Mögliche Abhilfe:

in \node_modules\@masterportal\masterportalapi\src\vectorStyle\styles\point\stylePointCircle.js
einen zIndex definieren

return new Style({
    image: new CircleStyle({
        radius: radius,
        fill: new Fill({
            color: fillcolor
        }),
        stroke: new Stroke({
            color: strokecolor,
            width: strokewidth
        })
    }),
    zIndex: -1
});

}

Betrifft vermutlich alle bisherigen MP-Versionen. Geprüft ab v.2.34

Danke&VG

Dietmar Stolz

Comments (4)

  1. Log in to comment