Revision 1 posted to OpenCities Map Wiki by Kees van Prooijen [Bentley] on 1/7/2024 9:51:26 PM
By default, a feature can have a single (subfeature) annotation. This example can be used to add a method in your XFM schema to place multiple (subfeature) annotations with and without leader lines.
With a spatial database feature, a method for a leadered annotation can be added. Leaderlines can be posted to the spatial database.
Place the VBA annotate.mvba in a folder pointed by the variable MS_VBASEARCHDIRECTORIES.
The XFM schema annotatePipe.xml contains a feature PipeLine with three subfeatures Annotation, AnnotationDiameter and LeaderLine.
For the feature PipeLine, methods are added to place multiple annotations with and without leaderlines.
Below an example of a feature PipeLine with 3 annotations and 1 leaderline.