How to change Image of Markers in google map mashup?


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

This is a question about the GMaps API, nothing to do with Rails.

Ok Thannks…I have joined that group also…N i got help from

Thanks for support.

Cheers, Sazima


There are instructions for that in GMaps:

Cheers, Sazima