onRenderMapScale method
Called when the map scale should be rendered.
Parameters
scaleWidth: Scale bar width in pixels.scaleValue: Numeric value represented by the scale bar.scaleUnits: Units for the scale (for example,m).
Implementation
@override
void onRenderMapScale(int scaleWidth, int scaleValue, String scaleUnits) {
_renderMapScaleCallback?.call(scaleWidth, scaleValue, scaleUnits);
}