Rossko wrote: >> As I said in one of my posts I was able to do it in way, but I really >> would like to see reply from some google devs who designed all that >> stuff; what can they say about inheritance of their classes > > That probably won't happen. They have, though, said a lot about it > at > > http://code.google.com/apis/maps/documentation/overlays.html#Custom_Overlays > but for some reason, you're assuming its not valid. >
Did you read my post? Google docs do not mention that GPolygons and GPolylines cannot be inherited and for whatever reason, you always need to implement your overlays from scratch. If you read that docs yourself, then you know that to have a GCircle I'd need to implement redraw, instantiate, remove etc etc... The questions is: why the hell would I need to do it if it's all implemented in generic polygon and all I need is to refine its constructor. That's the point of my question. > This may help; > http://www.crockford.com/javascript/inheritance.html > compare Classical and Parasitic inheritance I've read it all through. This page is one of the first that google returns; the page uses some psudo syntax, therefore it was a waste of time for me, I don't need to learn js, I just wanted a quick way to inherit from another class. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
