Skip to content

TypeError: Cannot read properties of undefined (reading 'text') #117

@marcdsdavid

Description

@marcdsdavid

When using the option:

showTooltip: false

the following error is displayed on the browser console:
Uncaught TypeError: Cannot read properties of undefined (reading 'text')

related to the setupElementEvents.js mouseover event

if (event.type === 'mouseover') { data.element.hover(true) map.tooltip.text(data.tooltipText) map._emit(data.event, [event, map.tooltip, data.code])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions