• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection

Example for Annotations in ASP.NET MVC Maps Control

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


Injecting Module

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 MAnnotations module using the Maps.Inject(Annotations) method.