• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of OSM With Legend in ASP.NET MVC Maps Control

This sample illustrates the world's top 10 most populated cities by displaying markers in their locations and legend with the city names.

DEMO
SOURCE

In this example, you can see how to display markers and a legend on the OpenStreetMap. To enable the legend, set the Visible property in LegendSettings to true, and then use properties like Title, Position, Type, Height, Width, and so on to customize the legend.