I found the solution.
Just call Layer.redraw(true). Originally, I did call to redraw but without force parameter, so the map can't be updated. carls wrote: > > I need the baselayer/overlayer content can be changed dynamically. > > For example, the baselayer maybe refer a dynamic MapGuide Layer. Now I > have changed the filter of a mapguide layer successfully and the map > content can vary according to new settings as well. But if I scale the map > to its initial bounds, the map content is shown exactly as same as its > initial content. If I zoom the map to different scale, the map can reflect > the dynamic result. > > Is the initial Map Image cached? If so, whether is it possible to add a > switcher for the cache? > > Thanks? > ----- Regards, Carl SHE -- View this message in context: http://n2.nabble.com/Is-the-initial-Map-Image-cached--tp1472470p1475961.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
