[Mapguide_users] CGI QueryMapFeatures

Scott Hameister ScottH at mPower-tech.com
Wed Jan 10 19:47:08 EST 2007


I can't find documentation on the FCGI operation QueryMapFeatures
When I change the ViewerAPi Code where it filters by the selectable and
visible layers " LAYERNAMES=" + encodeURIComponent(GetVisSelLayers())"
To a list of Non-visible layers it doesn't work....
....I want users to be able to select features using the geometry on layers
that are not visible as well for parsing purposes? Can I use this Operation
for that

var req = url +
"?OPERATION=QUERYMAPFEATURES&VERSION=1.0.0&PERSIST=1&MAPNAME=" +
encodeURIComponent(mapName) + "&SESSION=" + sessionId + "&SEQ=" +
Math.random();
    req += "&LAYERNAMES=" + encodeURIComponent(GetVisSelLayers()) +
"&GEOMETRY=" + geom + "&SELECTIONVARIANT=

-----Original Message-----
From: mapguide_users-bounces at lists.osgeo.org
[mailto:mapguide_users-bounces at lists.osgeo.org] On Behalf Of
jloureiro at mediaprimer.pt
Sent: Wednesday, January 10, 2007 10:45 AM
To: Mapguide_users at lists.osgeo.org
Subject: [Mapguide_users] Force Refresh of Layers



When some feature is inserted/updated dynamically in a feature 
source, what we have to do to programmatically force the refresh of 
all layers affected in all active map sessions ?
This in case of using DWF Viewer to view the maps. When using Ajax 
Viewer the refresh is done automatically.


Thanks in advance,

Jorge Loureiro


_______________________________________________
Mapguide_users mailing list
Mapguide_users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide_users




More information about the mapguide-users mailing list