maxScale property
The maximum scale at which to display the graphics overlay. A small number allows the map to display the layer when zooming further in.
This controls the maximum scale at which the graphics overlay is displayed. If the current map scale is smaller than the maximum scale, then this graphics overlay will not be displayed.
A scale is usually referred to as 1:X, where X is the scale specified here. This value is the relative scale to the real world, where one inch on the screen is X inches in the real world. Note that this is only an approximation and is dependent on the map's projection that can add some distortion, as well as the system's reported DPI setting which doesn't necessarily match the actual DPI of the screen.
The default value of this property is NaN which makes the layer unbounded by any scale.
Implementation
double get maxScale {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GraphicsOverlay_getMaxScale(_handle, errorHandler);
});
}
Implementation
set maxScale(double value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_GraphicsOverlay_setMaxScale(_handle, value, errorHandler);
});
}