/
/
Annotations

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

More Details...

Loading....
Description

In this example, you can see how to render a map with the provided GeoJSON data. Group of shapes can be combined to form a layer of the map. You can bind the desired colors from the data source to the map shapes. The marker template is used to display the names for shapes. Legend is enabled in this example to represent each continent.


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.