Conversation
|
|
||
| - Default: 0 | ||
|
|
||
| #### `overdraw` (boolean, optional) {#overdraw} |
There was a problem hiding this comment.
Good name? overzoom?
|
It has always been a point of confusion because minZoom and maxZoom sounds symmetrical, but they work differently. There are two behaviors - visibility and fetching - that the users may want to control in underzoom/overzoom. I personally think we should have four props for each of these. |
|
@Pessimistress so would you be in favour of:
|
|
How about naming the new props:
Along the same lines as the |
|
No big objections other as long as we put in some effort on the prop naming, to make this as orthogonal, expandable and intuitive as we can. FWIW
Just mill for the grist if we are ideating about such props. |
Background
The
extentprop inTileLayercontrols whether tiles are fetched & drawn when the viewport zoom is belowminZoom, but there is no mechanism to control this for zooms abovemaxZoom.Change List
overdrawprop (defaulttrueto maintain current behavior)overdraw = falseTileset2Ddoesn't load any tiles in viewport