[mapguide-users] Re: change layer filter after map has been loaded
jumpinjackie at gmail.com
Wed Oct 19 20:39:35 EDT 2011
Runtime layer filters are immutable. They are initialized once from the Layer
Definition. Changing the Layer Definition will do nothing for the existing
Armed with this knowledge, if you wanted to change the layer filter, you
would make a session copy of the original Layer Definition, modify the
filter element, create a new MgLayer from it and *replace* the existing
runtime layer on the map with the one you just created, followed by a
refresh of the map.
View this message in context: http://osgeo-org.1803224.n2.nabble.com/change-layer-filter-after-map-has-been-loaded-tp6911078p6911107.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users