[Qgis-user] How to personalize popup (hoverPopup) content in qgis-web-client?

Antonio Vico avicomartin at gmail.com
Thu Sep 12 10:00:42 PDT 2013


Hi Andreas,

I have tested set up the display field and it works, but only show the 
field selected (I want more than one field, like the sample I mentioned 
in my first email). If I use the HTML option, in qgis client work fine 
but in qgis-web-client not (only show layer name).


On 12/09/13 13:53, Andreas Neumann wrote:
> Hi Antonio,
>
> In newer webclient/server releases you also have to set up the display
> field in the layer properties --> display tab.
>
> There are plans to also support the HTML expressions, but up to now they
> are not yet supported.
>
> Let me know if it still does not work after you set the display field in
> QGIS desktop.
>
> Thanks,
> Andreas
>
> Am 12.09.2013 12:43, schrieb Antonio Vico:
>> Hi all,
>>
>> I try to personalize hoverPopup contents like this sample:
>>
>> http://webgis.uster.ch/maps/stadtentwaesserung/wc_anlagen?format=image/jpeg&visibleLayers=WC-Anlagen,Gemeindegrenze,Pixelkarten%20und%20%C3%9Cbersichtsplan&searchtables=&startExtent=692000,241500,700100,249000&maxExtent=692000,241500,700100,249000
>>
>>
>> but I can't do it (In my tests only show name layer qgis 1.8 and name
>> layer and ).
>>
>> Reading FeatureInfoDisplay.js file, comments say that hoverPopup can
>> display the field named "toolbox" but I have tested to create "toolbox"
>> field in my sample but in hoverPopup only layer name appear (contents in
>> toolbox field are missing).
>>
>> In this same file, the showFeatureInfoHover function use 'tooltip'
>> attribute and I tested again with a field named "tooltip" in my data
>> sample but content not show.
>>
>> Can somebody explain how to include data in hoverPopup?
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list