ITADN

access openPopup from marker ref

#209ClosedPimeq 创建于 2025-04-09
P
Pimeqcommented
So I wanted to open a specific popup based on a prop change in Nuxt, however after looking for some time I found no way to access the openPopup function from either the Marker or Popup ref. This is my structure(ignore the red squigly line thats just eslint) ![Image](https://github.com/user-attachments/assets/58b14b1b-6cb0-4a4c-98e9-350854a1e5d9) and this is the way I tried accessing the openPopup method ![Image](https://github.com/user-attachments/assets/bc034a87-b6c7-4744-b068-14fca073635e) However I could not find the method anywhere in the ref. Am I not understaing something or is the method just not accesible from there? Thanks in advance
关闭于 2025-04-09 1 条评论