Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wkwhwh opened this issue Feb 28, 2023 · 1 comment
Closed

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

wkwhwh opened this issue Feb 28, 2023 · 1 comment

Comments

@wkwhwh
Copy link

wkwhwh commented Feb 28, 2023

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])

@themustafaomar
Copy link
Owner

Thanks for reporting this issue, the fix will be available by the next week in v1.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants