[Chameleon] Re: Chameleon Widgets and PostgisLayers
Julien-Samuel Lacroix
jlacroix at mapgears.com
Mon Jun 5 09:58:23 EDT 2006
Hi,
I may have a idea to help you. Change in the following file:
chameleon/htdocs/widgets/LayerAttributes.php
Around line 180, there's:
$oShape = $oLayer->getShape($nTile, 0 );
Change it for:
$oShape = $oLayer->getShape($nTile, 1 );
If it works, please add a note to the bug 1468 and I'll fix it in CVS.
Julien
listserver server wrote:
> <cwc2 type="MapTips" defaulttext=" " tolerance="2"
> maptipsdiv="MapTipsLayer" label="Map Tips" layer="scuole"
> attributes="comune" styleresource="TextButtons"
> popupstyleresource="TextButton
> s" popupwidth="550" popupheight="475"
> image="images/icon_maptips.png" toolbar="false" status="false"
> menubar="false" onmouseover="myMaptipsOver" onmouseout="myMaptipsOut">
>
> <image state="normal"/>
> <image state="selected"/>
> <image state="hover"/>
> </cwc2>
>
> This is the definition of MapTips Widget!
>
> Now i have names of comune on mouse over! but i cannot change value from
> comune to other fields because widget can see only layers but not
> attributes!
>
> Best Regards and thank you for your answer!
--
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
More information about the Chameleon
mailing list