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

Maps
Map Providers
OSM With Legend

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

TokyoDelhiShanghaiSao PauloMexico CityCairo DhakaMumbaiBeijingOsaka
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Image Not Found
Top 10 populated cities in the World

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.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab