[mapguide-users] Re: Unable to hide layers

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Tue Mar 2 05:13:41 EST 2010


IIRC there is a difference in how GETMAPIMAGE and GETDYNAMICOVERLAYIMAGE
handles the HIDELAYERS / SHOWLAYERS paramter.

Have you verified that the request sent to MapGuide is correct?
What happens if you use the opposite OPERATION parameter?

Previous to MGOS 2.1 you need to call the GETVISIBLEMAPEXTENT before 
using GETDYNAMICOVERLAYIMAGE.
http://trac.osgeo.org/mapguide/wiki/MapGuideRfc56

IIRC there is an option to toggle MGOS 2.1 and 2.0 in the OL mapguide 
layer class.

Even if you think fusion is a bit much, perhaps you can try setting up a 
sample map/layout and
toggle a layer to see if the request(s) sent to MG is different than 
what you are sending?

Regards, Kenneth Skovhede, GEOGRAF A/S

On 02-03-2010 10:31, durrrr wrote:
> sorry - misunderstanding. All of the layers are set to visible in Maestro
>    


More information about the mapguide-users mailing list