Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Google Maps Flash API,我想添加一个事件侦听器,该侦听器在使用 map.addOverlay() 将标记添加到地图时触发;Event.ADDED_TO_STAGE 没有被触发,尽管它看起来是合乎逻辑的。有哪些替代方案?
如果有人再次对此感到疑惑并错过了我错过的内容,答案是使用自定义标记 Sprite,并将 ADDED_TO_STAGE 侦听器附加到 sprite 而不是 Marker。