.NET MAUI Map Layers

The Map control visualizes spatial data using layered architecture. It can display spatial data points

Telerik Maui Ninja image

The Layers is part of Telerik UI for .NET MAUI, the most comprehensive UI suite for .NET MAUI! To try it out, sign up for a free 30-day trial and kickstart your cross-platform app development today.

(location of cities), polylines (road connections), or polygons (shape of countries or continents) in a geographic coordinate system. In this coordinate system, a point on the surface of the earth is defined using latitudes and longitudes.

  • Latitude—This is measured as the angle from the equatorial plane to the line drawn from the center of the earth to the point on the surface. Usually latitude values range from 90° (toward the North Pole and suffixed with "N") to -90° (towards the South Pole and suffixed with "S").
  • Longitude—This is measured on the equatorial plane and is defined as the angle between the line drawn from the center of the earth to the point and the line drawn from center of the earth to the prime meridian. Usually the longitude values range from 180° (to the east of prime meridian and suffixed with "E") to -180° (to the west of prime meridian and suffixed with "W").

.NET MAUI Map-Geographic Coordinate System

The position of the spatial data is described by the Location structure, that has the following properties:

  • Latitude (double)—Gets the latitude value of the location. The value must be between -90° and 90°.
  • Longitude (double)—Gets the longitude value of the location. The value must be between -180° and 180°.

The Map control works with layers of type MapShapefileLayer that use ESRI shapefiles as a data source. For detailed information on how shapefiles can be utilized, go to the MapShapefileLayer topic.

See Also

In this article