On Wednesday, April 11, 2012, Bart van den Eijnden wrote: > Another related question to my previous post. > > So I've worked around the previous issue by clearing alwaysInRange before > calling addOptions. > > Then when I pass in minScale and maxScale options to addOptions that > effectively will make the layer be out of scale, nothing happens, even > after calling redraw. > > Am I missing something here? Why is the layer not turned off in this case, > it only happens if I don't call redraw and manually pan the map. >
Do you use redraw(true)? > -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com
_______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
