This sample depicts the facts about Africa in an annotation. Africa shape is filled with gradient color.
In this example, you can see how to place a desired HTML element at desired location in the maps. Any number of annotation can be placed on the maps. In this sample, the gradient fill color has been applied for the shape.
Injecting Module
Maps component features are segregated into individual feature-wise modules. To use an annotation, inject the Annotations
module using the Maps.Inject(Annotations)
method.