Hi,
I have recently solve this problem.
First customize your google marker and then add a css class on DIV
element during the draw function.
for your reference:
create a javascript class name as CustomMarker. Add a css class in its
draw function like this.
CustomMarker.prototype.draw = function() {
var me = this;
// Check if the div has been created.
var div = this.div_;
var title = this.title_;
var latlng = this.latlng_;
// var cursor = this.cursor_;
var severitycheck = this.title_;
var eventT= this.localeventTitle;
//alert(eventT);
if (!div) {
// Create a overlay text DIV
div = this.div_ = document.createElement('DIV');
div.id = this.id_;
div.title = title;
div.latlng = latlng;
div.className = 'ring_small_green';
}
}
for more details.
http://gmaps-samples-v3.googlecode.com/svn/trunk/overlayview/custommarker.html
if you have any question let me know!