Entry Point

Land Desktop Map 3D Samples

 
Entry Point
 
 
 

When you netload the GenerateAnnotation.dll, you cause the Initialize method of the AppEntry class in Commands.cs to run.

The Initialize method creates a Commands object and calls two methods on this object. These methods do the following:

  1. Print Prompt: Generaet annotation sample commands: and - GenAnnotation in the command-line area of Map 3D.
  2. Create a GenerateAnnotationImp object and call a method on this object to create an MgResourceIdentifier object that identifies the features in <Map 3D SDK root folder>\Map Samples\Platform\GenerateAnnotation\SDF\signals.sdf file. The creation of this identifier is described in the topic ConnectToSdfFile. The method then uses the MgResourceIdentifier object to add all of the features to Map 3D. This is described in the topic AddAllToMap.