Re: [Mapbuilder-devel] Future of openlayers integration

2007-08-12 Thread Eric Lam
Eric Lam wrote: > Andreas Hocevar wrote: >> Hi, >> >> On 8/11/07, Eric Lam <[EMAIL PROTECTED]> wrote: >> >>> OpenLayers.Class >>> var Control = OpenLayers.Class( SubclassControl, { ...}) >>> >>> however I can only get OL from the trunk to work if I change the >>> code to >>> Control = OpenLayers

Re: [Mapbuilder-devel] Future of openlayers integration

2007-08-12 Thread Andreas Hocevar
Hi, On 8/11/07, Eric Lam <[EMAIL PROTECTED]> wrote: > OpenLayers.Class > var Control = OpenLayers.Class( SubclassControl, { ...}) > > however I can only get OL from the trunk to work if I change the code to > Control = OpenLayers.Class.create(); > Control = OpenLayers.Class.inherit( SubclassContro

[Mapbuilder-devel] Future of openlayers integration

2007-08-10 Thread Eric Lam
Hello all, I have spent some time now trying integrate the latest version of openlayers from the trunk, I have finally found a solution and it requires me to change several bits of code. ie there are several places in the code which uses this form of OpenLayers.Class var Control = OpenLayers.C