[fusion-users] PanQuery and pink backgrounds

Marc Pfister mpfister at enplan.com
Mon Sep 15 13:43:05 EDT 2008


Paul,

 

I made the two changes and PanQuery still shows the same behavior with
two useless hand icons in the toolbar.

 

http://209.20.81.81/fusion/templates/mapserver/panquery/

 

http://209.20.81.81/fusion/templates/mapserver/panquery/ApplicationDefin
ition.xml

 

I do get the following error in Firebug:

 

oWidget is null:

 

  if (oWidget.isMutEx()) {

 

Map.js (line 812)

 

 

Marc

 

 

 

 

 

 

From: pdescham49 at gmail.com [mailto:pdescham49 at gmail.com] On Behalf Of
Paul Deschamps
Sent: Friday, September 12, 2008 8:13 PM
To: Marc Pfister
Cc: fusion-users
Subject: Re: [fusion-users] PanQuery and pink backgrounds

 

Hi Marc,

First in your fusion init function replace your activate widget code to
this:

   var panWidget = Fusion.getWidgetById('PanTool');
   mapWidget.activateWidget(panWidget);

Second use the pan widget definition i have provided in my earlier email
(show below) as well.

  <Widget>
        <Name>PanTool</Name>
        <Type>PanQuery</Type>
        <Description>Click or click and drag to select
features</Description>
      <Extension>
            <SelectionType>INTERSECTS</SelectionType>

            <Tolerance>25</Tolerance>
            <QueryActiveLayer>false</QueryActiveLayer>
      </Extension>

      <ImageUrl>images/icons/pan.png</ImageUrl>

      <Tooltip>Click or click and drag to select features</Tooltip>
    </Widget>





 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20080915/407aeb45/attachment.html


More information about the fusion-users mailing list