referenceScale property

double referenceScale

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 text to appear at its authored size.

If the client changes the viewing scale, then 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_AnnotationLayer_getReferenceScale(
      _handle,
      errorHandler,
    );
  });
}