Skip to content

Commit 942cec6

Browse files
committed
Fix style-classes not being applied by the builder
1 parent 51d04e8 commit 942cec6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/main/java/de/bluecolored/bluemap/api/markers/HtmlMarker.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ public HtmlMarker build() {
232232
checkNotNull(html, "html")
233233
);
234234
if (anchor != null) marker.setAnchor(anchor);
235+
marker.setStyleClasses(classes);
235236
return build(marker);
236237
}
237238

src/main/java/de/bluecolored/bluemap/api/markers/POIMarker.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ public POIMarker build() {
271271
if (detail != null) marker.setDetail(detail);
272272
if (icon != null) marker.setIcon(icon, anchor);
273273
else if (anchor != null) marker.setAnchor(anchor);
274+
marker.setStyleClasses(classes);
274275
return build(marker);
275276
}
276277

0 commit comments

Comments
 (0)