Example of Projection in ASP.NET MVC Maps Control
This sample illustrates the details of permanent and non-permanent countries in the UN security council, in 2017. Projection of the map can be changed by using the Projection type
in properties panel.
Source:
en.wikipedia.org
Properties
Projection Type
|
|
In this example, you can see how to render a map with various projections. You can use the ColorMapping property to customize the color of the shapes.
Tooltip is enabled in this example. To see the tooltip in action, hover the mouse over a shape or tap a shape in touch enabled devices.
Injecting Module
Maps component features are segregated into individual feature-wise modules. To use a legend, inject the Legend
module using the Maps.Inject(Legend)
method.