[OpenLayers-Dev] Constructor trouble when testing new control
Ian Mayo
ian at planetmayo.com
Fri Oct 12 01:46:36 EDT 2007
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 <crschmidt at metacarta.com> 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
>
More information about the Dev
mailing list