Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
I m switching icon types of google maps markers between a default one and another one (made by google chart api). To switch back to standard icon I use:
marker.setIcon( http://maps.google.com/mapfiles/marker.png );
另一icon I使用:
marker.setIcon( http://maps.google.com/mapfiles/marker_yellow.png );
The question is:
是否真正使用“标准”? 它是否保证不会改变它?
最好在图形中采用诸如
G_DEFAULT_ICON
等一些固定格式。 api v3中是否有类似之处?如果没有,人们能够找到保证在所有 go角一pi一pi一pi一 life一 life一 life三生中工作的 can子。
同样的影子问题——当我确定“icon”时,如何获得标准影子,而不是使用“uglym.setShadow(新的google.maps.MarkerImage(http://maps.gstatic.com/mapfiles/shadow50.png ,完全无效,新的google.maps.Point(10, 34))
? (注:getShadow(>
>>>,将不把任何东西告诉你,因为其回归代码为
PS: there are some dynamic icons APIs but they all are now deprecated, and no remedy has been found.