[Chameleon] Re: Chameleon Widgets and PostgisLayers

listserver server chameleon.listserver at gmail.com
Mon Jun 5 10:23:40 EDT 2006


As suggested Julien, changing in
chameleon/htdocs/widgets/LayerAttributes.php

Around line 180,from
$oShape = $oLayer->getShape($nTile, 0 );

to:
$oShape = $oLayer->getShape($nTile, 1 );

all is fine

Thank you Julien!



2006/6/5, Julien-Samuel Lacroix <jlacroix at mapgears.com>:
>
> 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="&nbsp;" 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060605/84d16419/attachment.html


More information about the Chameleon mailing list