问题
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