Map: IMap;
The Map property determines a map that is needed to get an access to.
Executing the example requires a form with a button and the UiMap component with UiMap1 identifier.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
UiMap1.Map.Topobase := MetabaseClass.Active.ItemById("KARTA_RF").Bind As IMapTopobase;
End Sub Button1OnClick;
After executing the example on pressing the button the map, which topobase is stored in repository object KARTA_RF, is connected to the UiMap1 component.
See also: