Hello,
I'm trying to extend a GMarker and to display it, but it doesn't work,
can someone help me ?
function MyMarker(point) {
GMarker.call(this, point);
// do other stuff
...
}
MyMarker.prototype = new GMarker();
MyMarker.prototype.constructor = MyMarker;
// this does not work
map.addOverlay(new MyMarker(point));
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---