0

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...

Syed Raza
  • 149
  • 1
  • 12
  • 26

1 Answers1

1

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

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

Community
  • 1
  • 1
Ruslan
  • 9,927
  • 15
  • 55
  • 89
  • Tsar i want to change the color of mark on click ??? but the post you told me i had reviewed it but i can only create a custom mark by the help of this Link – Syed Raza Aug 25 '11 at 06:49