我正在使用 Google Image Charts(是的,我知道它已被弃用:-))在 Google map 上绘制圆形图标,即:
有没有办法绘制方形图标?不幸的是,所有对“cht=it”图表类型的引用似乎都从网络中消失了。
是否有替代 Google Image Charts 的方法来在 Google map 上绘制动态图标?我需要控制尺寸、颜色、形状和标签。
最佳答案
Is there an alternative to Google Image Charts for drawing dynamic icons on a Google Map? I need to control dimensions, color, shape and label.
是的,有。您要找的是Drawing on the Map 。在这里您可以使用自定义图标,无论它们的形状如何。
您提到的一些实际示例:
关于javascript - 使用 Google Image Charts 绘制方形图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37275537/