An Icon object is used to draw a developer defined bitmap on a Map.
The object can only be created with the Map.NewIcon method.
Use the Icon.Position property to position the Icon on the map.
Icons are defined using GpsTools Studio, or by zMapLib or
by using icons in the predefined MapLibs that is included in GpsTools SDK 2.20
Remember that you must call Map.Update after you have made updates
to objects that are placed on a map or else the updates will not be displayed.
For best performance make all updates at once and then call Update.
To remove an object (e.g. Icon) from a map use Map.Delete.
Use Icon.ID to map an Icon on a map to a database record.
Visual Basic sample to use an Icon:
' objPos and Map1 is defined elsewhere
' (see SimpleMap sample in the SDK.)
Dim objIcon As Icon
Set objIcon = Map1.NewIcon("car")
Set objIcon.Position = objPos ' Position