How To Change Mrker Color On Click Google Map V2 C# Web Application?

时光怂恿深爱的人放手 提交于 2020-02-06 15:58:06

问题


i am changing my polyline color on click my code,

GEvent.addListener(polyline, "click", function() {
  polyline.setStrokeStyle({ color: "#FF0000" });
};

How can i change the marker color on click ??

Hopes for your reply...


回答1:


You'd need to use custom Icons to achieve that.

Same question: How can I change the color of a Google Maps marker?



来源:https://stackoverflow.com/questions/7170418/how-to-change-mrker-color-on-click-google-map-v2-c-sharp-web-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!