[OpenLayers-Users] Re: getfeatureinfo mapserver show only the atributname

Jean-François Gigand jf at geonef.fr
Wed Aug 24 14:30:01 EDT 2011


When you say "popup", you mean an OpenLayers popup shown above the
map, or a popup window?

In any case, is the content formatted by MapServer or OpenLayers?
- If MapServer, check the documentation about templates, to customize it
- If OpenLayers, then  I don't know, it depends on the way you create the popup

If you don't know the answer to that question, check the response to
the WMSGetFeature request: is it HTML / plain text, or structured
(XML/GML/JSON/...) ?


Jean-François Gigand - Geonef
Paris, France - http://geonef.fr/




2011/8/24 boho <fnaci4775 at gmail.com>:
> thx jean..
> now i can specify the atribut by change
> "gml_include_items" "all"
> "gml_groups"        "display"
> "gml_display_group" "Name_e,Name_f"
> in my mapfile
>
> my last answer is, whe i click the layer popup openlayers show
> "GetFeatureInfo results: Layer 'Batas_Kab_region' Feature 17: KAB_KOTA =
> 'Pematang Siantar' KECAMATAN = 'Pematang Siantar' "
>
> how can i modify this, so popup only show the result, example "KECAMATAN =
> 'Pematang Siantar'"
> i mean without  "GetFeatureInfo results: Layer 'Batas_Kab_region' Feature
> 17:"
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/getfeatureinfo-mapserver-show-only-the-atribut-name-tp6712417p6718338.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>


More information about the Users mailing list