Thank for reply my question, Their is noting really require me subclassing Map, I just trying to find a way to manage my project.
I have many picture and xml format text data corresponding with them. So I want show certain text, base on the coordinator of current image. I already finish all task by define my own custom map type. But now I have many similar type of pictures, so I hope I can define their behavior in object oriented pattern. For example: they all need loadXML(), but may have different way to getText(). I still have other way to avoid subclassing Map directly, but I still interesting to know why google.maps.Map.prototype.constructor is an empty function. On Jul 13, 4:47 pm, Enoch Lau <[email protected]> wrote: > It may be helpful to explain the end result you're trying to achieve by > subclassing Map. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
