MAUIverse MAUIverse

Getting Started with the .NET MAUI Map Control

Embedding a street map is easy enough, but highlighting regions and reacting to a selection is harder. The Telerik Map control takes a different approach: it reads ESRI shapefiles, a .shp file for the geometry and a .dbf file for the attributes, and draws them with SkiaSharp. That makes it suitable for world maps, country outlines, floor plans and seating layouts.

Héctor Pérez builds a sample app step by step. He adds the sample world files as embedded resources and reads them through a MapShapefileLayer. The post then covers country-name labels with LabelAttributeName, a custom MapShapeStyleSelector that colors countries by population, and SelectionMode for showing details about the selected country, using a view model built with CommunityToolkit.Mvvm.

It’s a practical starting point for data-driven maps. As with other Telerik controls, you’ll need the package and a license or trial.

View Source →

← Back to Community Feed

}