Duly Noted. It has been added to my queue. Sorry for the inconvenience, I will take a look at this early next week. Thanks for the report! Erik
On 6/28/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > On Thu, Jun 28, 2007 at 01:32:49PM +0200, Jochen Grefe wrote: > > the layer values are overwritten by the map values for max/minScale on > > initResolution of OpenLayers.Layer (Called by addLayer/Map -> > > setMap/Grid ->setMap/Layer) Since I don't know the desired handling, I > > assume that the layer settings should only be overwritten if they are > > not set. In lib/layer.js that would guide me to: > > Erik -- > > This looks totally valid. Can you enter a ticket and offer your > feedback on this when you get time? > > -- Chris > > > 546,547c546,549 > > < this.minScale = this.scales[0]; > > < this.maxScale = this.scales[this.scales.length - 1]; > > --- > > > if (this.minScale == null) > > > this.minScale = this.scales[0]; > > > if (this.maxScale == null) > > > this.maxScale = this.scales[this.scales.length - 1]; > > > > Best regards, > > Jochen > > > > > > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://openlayers.org/mailman/listinfo/users > > > > -- > Christopher Schmidt > MetaCarta > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
