[OpenLayers-Users] Re: Popup only on WMS layer object
Sveen Atle Frenvik (Geomatikk IKT)
Atle.Frenvik.Sveen at geomatikk.no
Thu Aug 4 03:28:23 EDT 2011
if you are using Geoserver you can of course edit the templates for
the content.ftl is only included if there is a response, so there you
can add a html comment (f.ex: <!-- CONTENT --> ) and check for this in
if you are using another wms-server i am not sure, but i guess you can
do someting similar.
On 2011-08-04 09:19, michsred wrote:
> your solution works great. Of course it works when GeoServer serves
> GetFeatureInfo data in a table which is a member of "featureInfo" class. I
> wonder what kind of tags and other html/css elements can be used in /if/
> clause which you've posted.
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Popup-only-on-WMS-layer-object-tp6648352p6651653.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> Users mailing list
> Users at lists.osgeo.org
Atle Frenvik Sveen
Geomatikk IKT AS
tlf: 45 27 86 89
atle.frenvik.sveen at geomatikk.no
More information about the Users