From 12817a85750499756e89436b776a787e8b4f37ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Rodrigo?= Date: Wed, 8 Nov 2023 21:26:06 +0100 Subject: [PATCH] fix: namming maker text --- lib/markerLayerFactory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/markerLayerFactory.ts b/lib/markerLayerFactory.ts index f253cb805..ca8a6e55b 100644 --- a/lib/markerLayerFactory.ts +++ b/lib/markerLayerFactory.ts @@ -80,7 +80,7 @@ export function makerHtmlFactory( icon: string, thumbnail: string | undefined, size: string | null = null, - waypoint?: number + text?: string ): ITMarker { // Marker const el: HTMLElement = document.createElement('div') @@ -101,7 +101,7 @@ export function makerHtmlFactory( picto: icon, image: thumbnail, size, - text: waypoint, + text: text, }).mount(el) return marker