Closed divljikunic closed 2 years ago
@divljikunic thanks for reaching out.
The type definitions should be there: https://github.com/vasturiano/three-globe/blob/bc8492286aebc27d6bc875aafb0254e0964f9242/src/index.d.ts#L264-L276
Are you using a recent version of the package?
I did an 'npm update' and the error is indeed gone! Thank you. I had installed the package just recently, so it didn't occur to me this could even be an issue.
Using .htmlElementsData() and .htmlElement() causes a "Uncaught TypeError: ...is not a function"
Going to the definition in "three-globe.d.ts", nothing resembling those functions exists there. As per the docs, there are hexes, polygons, custom layers etc. but no html elements.
Steps to reproduce the behavior: