[OpenLayers-Dev] [OpenLayers-Users] OpenLayers with Rico and Prototype

Christopher Schmidt crschmidt at metacarta.com
Thu Dec 7 19:20:59 EST 2006


On Thu, Dec 07, 2006 at 04:18:24PM -0800, Jim Freeby wrote:
> Hi Christopher,
> 
> I cannot add comments to the tickets

Ah, sorry, there's information on the homepage of the trac:

Want to Edit this Wiki or Open a Ticket?

Due to spam problems, trac editing is currently limited to logged in
users. Please use the username and password openlayers/openlayers to
login to add or edit tickets, add or edit wiki pages, or perform other
editing actions.



> Ticket #441
> Your fix to 441 is similar to the changes I made.  It definitely fixes my immediate problem, but it will only work if rico.js is loaded before Open Layers.  If OpenLayers is loaded first, we have different Rico problems.  Also, using your solution means that Rico.Corner and Rico.Color behave differently when OpenLayers is loaded second, because we will always use the OpenLayers version of Rico.Corner and Rico.Color.  This does not affect me at the moment, just a thought. 
>
> A different solution would be to rename the Rico variable in Corner.js to something completely different, like "RicoOpenLayers".  But this would require updating all other Open Layers code that uses the OpenLayers "Rico" object, including "Rico/Color.js".  In this manner we would not have the naming conflict.

This is probably the right way to go. I'll think about this before I ask
for review of the patch for #441.

> Ticket #440
> Your patch is also very similar to my code update.  It also fixes my immediate problem, but I also agree with Erik's comments .

Yeah, this needs further investigation, I agree. 

> Thanks again for the rapid response, it is very much appreciated.

I'm glad I could help!

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list