在 Google Maps for Flex 中创建自定义标记

发布于 2024-10-19 21:39:02 字数 118 浏览 5 评论 0原文

我必须创建一个包含 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷路的信 2024-10-26 21:39:02

创建 Sprite 并在其图形上绘制一些内容。请参阅图形获取帮助。

Create Sprite and draw something on its graphics. See Graphics for help.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文