[fusion-users] Re: No properties shown in selection

gnoviello grazia.noviello at libero.it
Thu Nov 18 07:25:51 EST 2010


I found the solution in GetPropertiesSelected.php file.
At load map time, in the LoadMap.php file, an array of properties of the
existing layers is stored in a session variable "property_mapping". In the
GetPropertiesSelected.php file, that reads the properties of selected item
on map, this array of properties is read.
I've inserted a new layer in map after the map is loaded, so when I
requested the selected object on this new layer, for this layer there wasn't
an entry in the session array "property_mapping". 
So for my new layer no properties was requested to the service.
Now I've modified the GetSelectedProperties.php file to read, if there
aren't, the properties list of new layer.
It works.
Thanks,
Grazia

-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/No-properties-shown-in-selection-tp5750730p5751435.html
Sent from the Fusion Users mailing list archive at Nabble.com.


More information about the fusion-users mailing list