[Chameleon] PanMap widget conflict with Prototype.js

Julien-Samuel Lacroix jlacroix at mapgears.com
Wed Jan 31 09:35:39 EST 2007


Hi,
Which browser are you using? If you try firefox with the firebug 
extension, you may see some warnings that would help us to locate the 
problem. It's really hard for us to say what is the problem when we 
don't know what you do with Prototype.js or the script.aculo.us toolkit.

Julien

Carlo Trönnberg wrote:
> Hello All,
>  
> I made a very dynamic solution including Chameleon and using the 
> excellent Prototype.js.
>  
> I use this toolkit all my extra AJAX handling together with the 
> script.aculo.us toolkit for all the fancy user interface.
> My problem: Using the drag and drop functionalities of these toolkits 
> the PanMap widget does not work anymore.
> I can grab the map and move it around but upon releasing the mouse 
> button the map is not refreshed anymore. Doing some debugging, I noticed 
> that the drag.mouseUp(x,y); call in the PanMapWMouseUp function of the 
> PanMap widget failed to be called correctly ( putting an alert before 
> that statement works but not after this statement or in any part of the 
> drag.js file which it refers to ).
>  
> Everything else works perfectly.
>  
> Is there a solution?
>  
> Cheers,
>  
> Carlo Trönnberg
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list