Sorted. Will collate patch at next opportunity. I suspect I still haven't got the hang of OpenLayer javascript constructors- but I know the correct model to plagiarize next time...
thanks for your help Chris, Ian On 11/10/2007, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > On Thu, Oct 11, 2007 at 08:06:37PM +0100, Ian Mayo wrote: > > I'm afraid I can't get my head around an error that's being thrown by > > my test at: > > > > I have to admit, I don't fully understand how the > > constructor/initialiser model is working. > > ... > > So, there are a couple things to be aware of. > > 1. The Control.initialize prototype expects one argument, an object with > ... > > 2. In general, passing an element as part of the contorl init is not how > ... > > Hope this helps... > > Regards, > -- > Christopher Schmidt > MetaCarta > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
