On Wed, Sep 10, 2008 at 04:55:52PM -0600, Bill Thoen wrote: > When you create multiple instances of OpenLayers.Geometry.Points do you > also get multiple copies of all the Point functions (e.g. distanceTo, > move, clone, etc.) put into memory with each point?
Yes. > I understand the > difference between instance and prototype using the old javascript > notation, but I'm still trying to puzzle out how things work in the > OpenLayers library with its JSON syntax. It's no different. Things that you put into an OpenLayers.Class constructor get tacked onto the prototype: nothing more fancy than that. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
