[OpenLayers-Users] OpenLayers with Rico and Prototype

Jon Blower jdb at mail.nerc-essc.ac.uk
Fri Dec 8 02:49:13 EST 2006


Hi Jim (and list),

I had this problem (the Rico issue) with version 2.1 as well - my fix
is documented at
http://www.resc.rdg.ac.uk/trac/ncWMS/wiki/OpenLayersChanges.  I don't
know whether this also works in 2.2.  I don't know about the
unloadCache issue.

Hope this helps,
Jon

On 07/12/06, Jim Freeby <jfreeby at globexplorer.com> wrote:
> As of version 2.2, OpenLayers cannot be used with Rico and Prototype on the same page.  The object "Rico" is declared in both rico.js and OpenLayer's Rico\Corner.js.
>
> Additionally, there are issues related to the function "unloadCache" found in both OpenLayers\Events.js and prototype.js, where the code attempts to remove event listeners twice, resulting in null pointer exceptions.
>
> Are there plans to update OpenLayers so that it can be used with Rico/Prototype?
>
> For the short term, I made customizations to OpenLayers\Events.js and Rico\Corner.js to avoid the above conflicts.
>
> If I am sending to the wrong list, please let me know where I should post.
>
> Thanks for any help.
>
>
> Jim
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>


-- 
--------------------------------------------------------------
Dr Jon Blower              Tel: +44 118 378 5213 (direct line)
Technical Director         Tel: +44 118 378 8741 (ESSC)
Reading e-Science Centre   Fax: +44 118 378 6413
ESSC                       Email: jdb at mail.nerc-essc.ac.uk
University of Reading
3 Earley Gate
Reading RG6 6AL, UK
--------------------------------------------------------------



More information about the Users mailing list