featureinfo only for a subset of layers?

55 views
Skip to first unread message

Gergely Padányi-Gulyás

unread,
May 9, 2014, 3:53:11 AM5/9/14
to geoext-vi...@googlegroups.com
Dear Developers, Users!

I have a bunch of layers: most of them are WMS services, but there are some vector layers as well.
I would like to enable the "featureinfo" toolbar item only for the WMS layers.
The best would be if I could set an array of layers for this toolbar element to query.

Is it possible?

Thanks
         Gergely

Just van den Broecke

unread,
May 9, 2014, 6:07:17 AM5/9/14
to geoext-vi...@googlegroups.com
Hi,

Yes that is true, although WMS Layers can be disabled from querying by
nulling Layer.featureInfoFormat and not setting Layer.queryable (or to
false) in your Layer config, but any Vector Layer, thus WFS, is by
definition queryable.

This would require a new config option and implementation, for example
queryVectorLayers: true|false and or queryOnlyLayers: [<layer name array>].

If you need this, it is best to open a new issue.

best,

Just
> --
> --
> You received this message because you are subscribed to the Google
> Groups "geoext-viewer-devel" group.
> To post to this group, send email to
> geoext-vi...@googlegroups.com
> To unsubscribe from this group, send email to
> geoext-viewer-d...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/geoext-viewer-devel?hl=en
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Heron Mapping Client Development" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to geoext-viewer-d...@googlegroups.com
> <mailto:geoext-viewer-d...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Gergely Padányi-Gulyás

unread,
May 10, 2014, 4:31:25 AM5/10/14
to geoext-vi...@googlegroups.com, jus...@gmail.com
OK, I created a new issue.

Best,
          Gergely
> For more options, visit this group at
> http://groups.google.com/group/geoext-viewer-devel?hl=en
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Heron Mapping Client Development" group.
> To unsubscribe from this group and stop receiving emails from it, send

Sunday OYENIYI

unread,
May 4, 2017, 1:38:28 PM5/4/17
to Heron Mapping Client Development, jus...@gmail.com
Hello Just and Gergely,

queryVectorLayers & queryOnlyLayers config options is available into new heron librairie ?

In my case, i want to show only one layer in my featureinfo popup. But i have also vector layer, therefore he display two tabs into featureinfo popup.

How i can solve it ?

{type: "featureinfo", options: {
    popupWindow: {
         title: ' Informations de la couche',
         width: 563,
         height: 488,
         featureInfoPanel: {
              showTopToolbar: true,
              displayPanels: ['Detail'],
              drillDown: false,
              layer: 'Lot', // I specify my layer name
              columnCapitalize: false,
              maxFeatures: 5
       }
    }
}},

Regards,

Oyeniyi
Reply all
Reply to author
Forward
0 new messages