[OpenLayers-Users] How to refresh the div "map" only?

geekjack geekjack at 163.com
Mon Aug 23 04:47:43 EDT 2010


Thank you all!
    well after thinking about my question again,your suggestions are all
good.
    If I want to init the map,I can just reload the "init()" function.
    If I want to refresh some dynamic layers in the map,I can use the "
layer.redraw() " (which I nerver use before aha.)

   Somebdy else have the same problem should note that :when you use
yourlayer.redraw() to refresh your layer ,you won't find it refreshed untill
you change it to yourlayer.redraw(tue), I think it may because of the
cache,but I don't sure.mabe you can find the anwser here 
http://trac.openlayers.org/changeset/6171 

   Thank you Imran and Nathan again ! !  suggetions ?
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-refresh-the-div-map-only-tp5449343p5451804.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list