MapChart: IEaxMapChart;
The MapChart property returns parameters of the map which is accessed using the component.
Executing the example requires a form with the UiEaxMap component named UiEaxMap1 and a visual component for which UiEaxMap1 is set as data source. The repository should contain map topobase with the T_WORLD identifier.
Sub TESTFormOnCreate(Sender: Object; Args: IEventArgs);
Var
MB: IMetabase;
WorldMap: IEaxMapChart;
Begin
MB := MetabaseClass.Active;
WorldMap := UiEaxMap1.MapChart;
WorldMap.Topobase := MB.ItemById("T_WORLD").Bind As ITopobase;
End Sub TESTFormOnCreate;
On launching the form the specified map will be connected to the UiEaxMap1 component.
See also: