在 Google Maps for Flex 中创建自定义标记
我必须创建一个包含 3 个三角形且彼此成 120 度的标记。三个三角形的填充颜色将不同(根据其他变量的值决定)。
Google 地图可以接受 DisplayObjects 作为标记。我该如何手动创建一个?
I have to create a marker with 3 triangles at 120 degrees with each other. The fill colour of the three triangles will be different (to be decided depending upon the value of some other variable).
Google Maps can accept DisplayObjects as markers. How do I go about creating one manually?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
创建
Sprite
并在其图形
上绘制一些内容。请参阅图形获取帮助。Create
Sprite
and draw something on itsgraphics
. See Graphics for help.