Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomMapItemLayer.InitialMapSize Property

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

#Declaration

Delphi
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