Forum: Ruby on Rails How to change Image of Markers in google map mashup???????????

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Vrishali.... (Guest)
on 2009-02-20 06:20
(Received via mailing list)

I am working on google map mashup. I tried to display the markers for
four locations and its getting displayed.
But these markers's image is default image by google. (balloon shaped
Now i want to put my own image as marker,
So can anybody plz tell me how it can be done?????????

The code i follow for creating marker is,

 function createMarker(point,html) {
            var marker = new GMarker(point);
            GEvent.addListener(marker, "click", function() {
            return marker;

Please Help Me!!!!
Chris K. (Guest)
on 2009-02-20 10:25
(Received via mailing list)
This is a question about the GMaps API,  nothing to do with Rails.
Vrishali.... (Guest)
on 2009-02-21 12:31
(Received via mailing list)
Ok Thannks.....I have joined that group also...N i got help from

Thanks for support.
Sazima (Guest)
on 2009-02-21 20:35
(Received via mailing list)

There are instructions for that in GMaps:



Cheers, Sazima
Sazima (Guest)
on 2009-02-21 20:38
(Received via mailing list)
This topic is locked and can not be replied to.