[mapguide-users] Maestro 4 to 5 migration (QueryMapFeatures)

Hans Milling hm at geograf.dk
Thu Jul 4 04:44:56 PDT 2013


Hi all

I miss some documentation wbout the QueryMapFeatures in Maestro 5. Do we
have any? Like what options can I out in selectionVariant.
Perhaps the next release could expose this a an enum istead of a string?

After digging a lot trough the Maestro4 source code I found that:
  mapSvc.QueryMapFeatures("MyMap", wkt, false);

In Maestro 5 API is done this way:
  QueryMapOptions options = new QueryMapOptions();
  options.LayerAttributeFilter = QueryMapFeaturesLayerAttributes.Default;
  mapSvc.QueryMapFeatures(runtimemap, -1, wkt, false, "INTERSECTS",
options);

To obtain the same result as v4 API that is.

Just to let you know.

Best regards
  Hans Milling...



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Maestro-4-to-5-migration-QueryMapFeatures-tp5064064.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list