On Jul 9, 12:48 am, Enrico <[email protected]> wrote: > > I normally use Java, so I think will be a good idea define an "object" > like parallelPolyline that is a "child" of google.maps.polyline. > I try to find how do something like "extends" in Java because i need > only to add a parameter and re-write a method. > > I know that javascript isn't java, but you know if is possible? Any > usefull link? >
javascript objects are based on prototypes, which are different to java classes, for details see this link: https://developer.mozilla.org/en/Core_JavaScript_1.5_Guide/Details_of_the_Object_Model ... -- 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.
