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

Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'texture') #155

Open
Eric-Zhong opened this issue Oct 8, 2023 · 0 comments

Comments

@Eric-Zhong
Copy link

I use MapVGL to draw geojson object. I add onClick event handler for ShapeLayer. I got this error when mouse hover the shape element.

I want to know the 'texture' is which option need to setting? Thanks.
 
Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'texture')
at value (unpkg.com/[email protected]/dist/mapvgl.min.js:474:145)
at value (unpkg.com/[email protected]/dist/mapvgl.min.js:517:518)
at (unpkg.com/[email protected]/dist/mapvgl.min.js:515:255)
at value (unpkg.com/[email protected]/dist/mapvgl.min.js:499:358)
at value (unpkg.com/[email protected]/dist/mapvgl.min.js:514:144)
at webglLayer.onMousemove (unpkg.com/[email protected]/dist/mapvgl.min.js:516:68)
at (unpkg.com/[email protected]/dist/mapvgl.min.js:494:503)
at (unpkg.com/[email protected]/dist/mapvgl.min.js:478:175)
at e6.BaseClass.fire.e6.BaseClass.dispatchEvent (api.map.baidu.com/getscript?type=webgl&v=1.0&ak=nu2we4z6nyflxCNkvvZv5BwPsHk0Or4B&services=&t=20230914193743:5:2632)
at e6.on._mousemove (/VM46947610:1:10712)

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

1 participant