On Thu, Dec 11, 2008 at 06:07:53AM -0800, gimini wrote: > > Hi girls and guys, > > I set up first a scales array in my map config (my layer create the right > amount of scales, i.e the scales array). > I 'd like to add a specific scale which is not in the array. I use the > map.zoomToScale(new scale) to refresh the viewing but i cannot insert this > scale in the array. Trying to retrieve the scale by its (new) zoom level is > not possible, the map.numZoomLevels remains the same as the map initial > config.
The number of scales/zoom levels on a layer/map is configured at the time the layer is added to a map. Once this has happened, there is no easy way to change the list of scales/resolutions that OpenLayers uses for that layer. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
