diff --git a/src/api.ts b/src/api.ts index b85d680..4c8fa66 100644 --- a/src/api.ts +++ b/src/api.ts @@ -134,6 +134,13 @@ function buildComponents(response: any): DynmapComponentConfig { const type = component.type || "unknown"; switch(type) { + case "markers": + components.markers = { + showLabels: component.showlabel || false, + } + + break; + case "playermarkers": components.playerMarkers = { hideByDefault: component.hidebydefault || false,