One of the features I added to the map is a center indicator sign.
<MapContainer fullscreenControl={true}
center={center} zoom={18}
maxNativeZoom = {22}
maxZoom={22}
className={"sign-of-center-of-map"}>
.sign-of-center-of-map:before {
position: absolute;
content: "\271B";
z-index: 800;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
font-size: 3rem;
opacity: 0.7;
}
However, after adding the sign, the layers on the map became unclickable. I tried changing the z-index of the layers, but the issue persisted. Should I make adjustments to the CSS or try a different approach?