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

Example of Marker template in ASP.NET MVC Maps Control

This sample indicates the temperature of various cities of Australia in marker templates.

DEMO
SOURCE

In this example, you can see how to place a template as a marker in the map. Any custom HTML elements can be used as a marker. You can use the palette property in the shapeSettings to apply desired fill colors for the shapes.


Injecting Module

Maps component features are segregated into individual feature-wise modules. To use a marker template, inject the Marker module using the Maps.Inject(Marker) method.

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE