Example of Annotations in Javascript Maps Control


This sample depicts the facts about Africa in an annotation. Africa shape is filled with gradient color.

More Details...


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. More information on the annotation can be found in this documentation section. 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.