Skip to main content

TdxCustomMapItemLayer.InitialMapSize Property

Specifies the initial size of the map layer at a zoom level equal to 1, in pixels.

Declaration

property InitialMapSize: TcxSize read; write;

Property Value

Type
TcxSize

Remarks

Use the InitialMapSize.Height and InitialMapSize.Width properties to adjust the map layer’s initial dimensions. Both properties are initialized to the dxMapControlDefaultMapSize global constant value.

The InitialMapSize.Height and InitialMapSize.Width properties automatically update by multiplying their current values by the form’s scaling factor every time it changes.

If you are displaying multiple map layers simultaneously, ensure that their InitialMapSize property values match to avoid misaligned map items.

See Also