Marker & cluster
Point symbols and cluster bubbles for dense POI layers.
Preview
12
28
Usage
Use this component inside a qgis2web Leaflet export after loading q2w-mapcss.css. Keep generated map JavaScript unchanged unless your workflow needs custom behavior.
<div class="q2w-marker"> Marker & cluster content </div>
Variants
| Pattern | Effect |
|---|---|
.q2w-marker | Default component shell |
.q2w-marker--compact | Denser layout for small maps |
.q2w-marker--floating | Floating map overlay style |
data-theme="dark" | Uses dark theme tokens automatically |
Sub-elements
| Class | Purpose |
|---|---|
.q2w-marker | Root element for the marker & cluster component |
.q2w-marker__head | Optional header/title region |
.q2w-marker__body | Main component content region |
.q2w-marker__actions | Optional action group |