最佳答案
看看这个documentation
您也可以使用minResolution和maxResolution,但似乎使用scale更好.
minScale - float -- the minimum scale value at which the layer should display
maxScale - float -- the maximum scale value at which the layer should display
maxResolution - float -- the maximum resolution value at which the layer should display
minResolution - float -- the minimum resolution value at which the layer should display