[mapguide-users] mapguide-rest feedback

Jackie Ng jumpinjackie at gmail.com
Tue Oct 28 19:17:28 PDT 2014


Let me clarify this.

You can do layer/group toggling via the overlayimage URL route. If you look
at the bundled OpenLayers examples, you can see the requests that are made
when you toggle a layer or group on/off in the legend.

If you want to do this "silently" without requesting a new map image, then
that is not currently possible as there is no dedicated URL route for that.
The closest possible workaround would be to request an overlayimage that
will return the smallest possible information (behavior=1, format=png8/jpg),
and just discard the response.

This is similar to my documented technique of modifying MgMap state:
http://themapguyde.blogspot.com.au/2013/05/an-elegant-mgmap-hack.html

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/mapguide-rest-feedback-tp5168657p5170073.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list