[fusion-users] CTRLClick Widget

Mike Adair madair at dmsolutions.ca
Thu Mar 26 09:14:10 EDT 2009


The CTRLClick widget is pretty out of date (from the 1.0 branch).  I 
think you would have better luck if you updated to a more current 
version of Fusion (CTRLClick is implemented in the layer objects using 
OpenLayers handlers which is much more robust). 

However, looking at the code for Fusion 1.0, it looks like you need to 
add some <Layer> elements in the Extension:
<Extension>
  <Layer>Parcels</Layer>
  <Layer>Roads</Layer>
</Extension>

Mike

jcabrera wrote:
> I am trying to modify the default ctrl click behavior.  I registered the CTRLClick widget in my applicationdefinition.xml:
>
>       <Widget>
>           <Name>CTRLClick</Name>
>           <Type>CTRLClick</Type>
>           <Location />
>           <Extension>
>               <ElementId />
>           </Extension>
>       </Widget>
>
> I see it being created, but the _display function is not being hit.  What do I need to do to get it working?
>
> Jorge
>   

-- 
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   madair at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca




More information about the fusion-users mailing list