[mapguide-internals] Patch for ticket 2405 (SHOWLAYERS, HIDELAYERS, SHOWGROUPS and HIDEGROUPS parameters for GETMAPIMAGE do nothing)

Jackie Ng jumpinjackie at gmail.com
Sun Nov 9 19:34:52 PST 2014


Hi All,

I've attached a new patch for ticket 2402

http://trac.osgeo.org/mapguide/ticket/2402

This fixes the GETMAPIMAGE operation in the mapagent so that the
SHOWLAYERS,HIDELAYERS,SHOWGROUPS and HIDEGROUPS parameters will work.

By default, these parameters are assumed to be object ids, but when passing
a Map Definition resource ID these parameters don't make sense as there
won't be any existing MgMap in place so the caller would never know what
layer/group ids to pass in.

This patch fixes this operation so that when a Map Definition resource ID is
passed in, the affected parameters will be treated as comma-separated lists
of layer/group names instead of object ids, ensuring the layer/group
toggling will work.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Patch-for-ticket-2405-SHOWLAYERS-HIDELAYERS-SHOWGROUPS-and-HIDEGROUPS-parameters-for-GETMAPIMAGE-do--tp5172111.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list