in src/lib/components/molecules/canvas-map/lib/renderers/TextLayerRenderer.js [197:217]
getTextElementWithID(id) {
const elementId = `text-feature-${id}`
let textElement = this._element.querySelector(`#${elementId}`)
if (!textElement) {
textElement = document.createElement("div")
textElement.id = elementId
// @ts-ignore
textElement.dataset.featureId = id
}
if (this._mouseInteractionsEnabled) {
// @ts-ignore
textElement.style.pointerEvents = "auto"
// @ts-ignore
textElement.style.cursor = "pointer"
}
// @ts-ignore
return textElement
}