referenceScale property
The reference scale for the layer.
The reference scale of the layer is the scale at which a client should view the layer for the schematic lines and text to appear at its authored size.
If the client changes the viewing scale, then schematic lines and text will grow or shrink to keep a consistent size on the map (not the screen).
For a valid layer, the reference scale will always be a finite value, greater than zero. Until the layer is loaded, the reference scale will be zero.
Implementation
double get referenceScale {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_DimensionLayer_getReferenceScale(
_handle,
errorHandler,
);
});
}