File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,19 +182,21 @@ var attrs = module.exports = overrideAll({
182182 min : 0 ,
183183 dflt : 0 ,
184184 description : [
185- 'Minimal zoom level of the map view.' ,
186- 'A minscale of *0.5* (50%) corresponds to a zoom level' ,
187- 'where the map has half the size of base zoom level.'
185+ 'Sets the minimum zoom level of the map view, relative to' ,
186+ '`projection.scale`. A `minscale` of *0.5* (50%) prevents the' ,
187+ 'user from zooming out beyond half the base zoom level.' ,
188+ 'The default of *0* imposes no lower bound.'
188189 ] . join ( ' ' )
189190 } ,
190191 maxscale : {
191192 valType : 'number' ,
192193 min : 0 ,
193- dflt : - 1 ,
194+ dflt : null ,
194195 description : [
195- 'Maximal zoom level of the map view.' ,
196- 'A maxscale of *2* (200%) corresponds to a zoom level' ,
197- 'where the map is twice as big as the base layer.'
196+ 'Sets the maximum zoom level of the map view, relative to' ,
197+ '`projection.scale`. A `maxscale` of *2* (200%) prevents the' ,
198+ 'user from zooming in beyond twice the base zoom level.' ,
199+ 'Defaults to *null* for no upper bound.'
198200 ] . join ( ' ' )
199201 } ,
200202 } ,
You can’t perform that action at this time.
0 commit comments