IMapView.Refresh

Syntax

Refresh;

Description

The Refresh method refreshes a map and map objects.

Example

Executing the example requires a form with the Button1 button, the MapBox component and the UiMap component that is a data source for MapBox.

The example is executed on clicking the button.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

MapView: IMapView;

Begin

MapView := UiMap1.Map.View;

MapView.Refresh;

End Sub Button1OnClick;

After executing the example the map and the map objects are refreshed.

See also:

IMapView