apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.27k stars 382 forks source link

Change marker on mouseOver and mouseOut event #439

Closed ol-tiutiunnyk closed 10 years ago

ol-tiutiunnyk commented 10 years ago

Hi :) Thank you for doing great work!

I'm looking forward specific solution for my app. When user hover over the marker on map I would like to change its color and restore previous one. Was looking for obvious callbacks, but haven't found anything. So my question is: Is that possible to provide effect I've described? If yes, then how I can reach this effect?

apneadiving commented 10 years ago

Hi, I suppose you should add some events on each marker, nothing really fancy.

Sent from my iPhone

On 28 mai 2014, at 20:00, Alejandro75157 notifications@github.com wrote:

Hi :) Thank you for doing great work!

I'm looking forward specific solution for my app. When user hover over the marker on map I would like to change its color and restore previous one. Was looking for obvious callbacks, but haven't found anything. So my question is: Is that possible to provide effect I've described? If yes, then how I can reach this effect?

— Reply to this email directly or view it on GitHub.

apneadiving commented 10 years ago

anyway its not a gem issue, its a question, please ask it on stackoverflow and provide a plunkr or a jsfiddle.