[Qgis-user] How to personalize popup (hoverPopup) content in qgis-web-client?
Antonio Vico
avicomartin at gmail.com
Thu Sep 12 10:20:57 PDT 2013
Hi Giovanni,
In initial comment (line 15) show 'toolbox' and in line 99 show
'tooltip'. Is for this that I tested all options without success.
I use a git version downloaded at 19-07-2013 that not include
tooltipTemplates. I will test the latest version next weekend/week. Can
you advance how to include fields in GlobalOptions?
On 12/09/13 19:04, G. Allegri wrote:
>
> That's why I invited you to consider to configure a template inside
> GlobalOptions...
>
> Sent from Nexus
>
> Il giorno 12/set/2013 19:00, "Antonio Vico" <avicomartin at gmail.com
> <mailto:avicomartin at gmail.com>> ha scritto:
>
> 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 <mailto:Qgis-user at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130912/884e3877/attachment.html>
More information about the Qgis-user
mailing list