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.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( SubclassControl, { ...});
the difference I believe is due to the compressed version of OL in the
util dir defining
OpenLayers.Class the following way. [a function]
OpenLayers.Class = function() {...}
where as it is defined as follows on the OL trunk [a object ??]
OpenLayers.Class = {...}
Am I missing something here, is there a easier way for me to use the
latest version of OL?
My JavaScript may not be up to scratch here.
Regards,
Eric Lam
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel