Skip to content

Commit

Permalink
fix: namming maker text
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Nov 8, 2023
1 parent 407a363 commit 12817a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/markerLayerFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -101,7 +101,7 @@ export function makerHtmlFactory(
picto: icon,
image: thumbnail,
size,
text: waypoint,
text: text,
}).mount(el)

return marker
Expand Down

0 comments on commit 12817a8

Please sign in to comment.