Namespace Syncfusion.Maui.Maps
Classes
CenterChangedEventArgs
Provides event data for the CenterChanged event. |
ColorMapping
Represents the base class for EqualColorMapping and RangeColorMapping. |
EqualColorMapping
Represents the equal color mapping. |
LegendSourceType
Defines the constants that specify the element type of legend. |
MapAlignment
Defines the constants that specify the position of the map marker icon. |
MapArc
The MapArc represents the default model for arc layer. |
MapArcLayer
A sublayer which renders group of MapArc on MapShapeLayer and MapTileLayer |
MapBubbleSettings
Represents the map bubble settings. |
MapCircle
The MapCircle represents the default model for circle layer. |
MapCircleLayer
A sublayer which renders group of MapCircle on MapShapeLayer and MapTileLayer |
MapDataLabelSettings
Represents the map data labels settings. |
MapDistanceType
Represents the radius distance type |
MapGeometryType
Enumurates the geometry type of shape file layer. |
MapIconType
Defines the constants that specify the map marker icon type. |
MapLabelOverflowMode
Gets or sets the intersect action. |
MapLabelStyle
The MapLabelStyle represents the style of data label, that used to customize text color, size, font family and font attribute. |
MapLatLng
Class implementation of Map longitude latitude |
MapLatLngBounds
Represents MapLatLngBounds class. |
MapLayer
Base class for shape layer, holds the common items of MapShapeLayer. |
MapLegend
Represents the map legend to show legend for the bubbles or shapes. Information provided in the legend helps to identify the data rendered in the map shapes or bubbles. |
MapLine
The MapLine represents the default model for line layer. |
MapLineLayer
A sublayer which renders group of MapLine on MapShapeLayer and MapTileLayer |
MapMarker
The MapMarker represents the default model for markers. |
MapMarkerCollection
Represents the map marker collection. |
MapPolygon
The MapPolygon represents the default model for polygon layer. |
MapPolygonLayer
A sublayer which renders group of MapPolygon on MapShapeLayer and MapTileLayer |
MapPolyline
The MapPolyline represents the default model for polyline layer. |
MapPolylineLayer
A sublayer which renders group of MapPolyline on MapShapeLayer and MapTileLayer |
MapSelectionMode
Represents selection type. |
MapShapeLayer
The shape layer in which geographical rendering is done. The actual geographical rendering is done here using the ShapesSource property. The shape source can be set as the GeoJSON file or shapefile from the local file, URL, Stream or Resource. The ShapeDataField property is used to refer the unique field name in the GeoJSON file or shapefile to identify each shapes and map with the respective data in the data source. By default, the value specified for the ShapeDataField in the GeoJSON or shapefile will be used in the elements like data labels, tooltip, and legend for their respective shapes. However, it is possible to keep a data source and customize these elements based on the requirement. The value of the
ShapeDataField will be used to map with the respective data returned in Once the above mapping is done, you can customize the elements data label, color mapping etc. |
MapShapeSublayer
The shape sub layer for MapShapeLayer and MapTileLayer. The actual geographical rendering is done here using the ShapesSource property. The shape source can be set as the GeoJSON file or shapefile from the local file, URL, Stream or Resource. The ShapeDataField property is used to refer the unique field name in the GeoJSON file or shapefile to identify each shapes and map with the respective data in the data source. By default, the value specified for the ShapeDataField in the GeoJSON or shapefile will be used in the elements like data labels, tooltip, and legend for their respective shapes. However, it is possible to keep a data source and customize these elements based on the requirement. The value of the
ShapeDataField will be used to map with the respective data returned in Once the above mapping is done, you can customize the elements data label, color mapping etc. |
MapSource
Represents the map source that reads the shape source from the local file, URL, stream or embedded resource. |
MapSublayer
Base class for shape sublayer and vector layers. |
MapTileLayer
Tile layer which renders the tiles returned from the Web Map Tile Services (WMTS) like OpenStreetMap, Bing Maps, Google Maps, TomTom etc. The UrlTemplate accepts the URL in WMTS format i.e. {z} — zoom level, {x} and {y} — tile coordinates. We will replace the {z}, {x}, {y} internally based on the current center point and the zoom level. Regarding the tile rendering, at the lowest zoom level (Level 0), the map is 256 x 256 pixels and the whole world map renders as a single tile. At each increase in level, the map width and height grow by a factor of 2 i.e. Level 1 is 512 x 512 pixels with 4 tiles ((0, 0), (0, 1), (1, 0), (1, 1) where 0 and 1 are {x} and {y} in urlTemplate), Level 2 is 2048 x 2048 pixels with 8 tiles (from (0, 0) to (3, 3)), and so on. (These details are just for your information and all these calculation are done internally.) However, based on the size of the SfMaps control, initialZoomLevel number of initial tiles needed in the view port alone will be rendered. While zooming and panning, new tiles will be requested and rendered on demand based on the current zoom level. The current zoom level can be obtained from the ZoomLevel respectively. Once the particular tile is rendered, it will be stored in the cache and it will be used from it next time for better performance. |
MapTooltipInfo
Represents the MapTooltipInfo class. |
MapTooltipSettings
Represents the MapTooltipSettings class. |
MapZoomPanBehavior
Enables zooming and panning in MapShapeLayer and MapTileLayer. Zooming and panning will start working when the new instance of MapZoomPanBehavior is set to MapShapeLayer.MapZoomPanBehavior or MapTileLayer.MapZoomPanBehavior. However, if you need to restrict pinch zooming or panning for any specific requirements, you can set the EnablePanning, and EnableZooming properties to false respectively. The default ZoomLevel value is 1 which will show the whole map in the viewport for MapShapeLayer and the available bounds for the MapTileLayer. The minimum and maximum zooming levels can be restricted using the MinZoomLevel and MaxZoomLevel properties respectively. The default values of minZoomLevel and maxZoomLevel are 0 and 15 respectively. However, for MapTileLayer, the maxZoomLevel may slightly vary depends on the providers. Check the respective official website of the map tile providers to know about the maximum zoom level it supports. |
MarkerSelectedEventArgs
Provides event data for the MarkerSelected event. |
PanningEventArgs
Provides event data for the Panning event. |
RangeColorMapping
Represents the range color mapping. |
SfMaps
Maps is a powerful data visualization component that displays statistical information for a geographical area. It has highly interactive and customizable features such as selection, tooltip, legends, markers, bubbles, and color mapping. Users can generate maps for population density, sales, political boundaries, weather, elections, and routes. The Layer is contains MapShapeLayer or MapTileLayer as a content of Maps. |
SfMapsStyles
Represents a class which is used to style the map. |
ShapeSelectedEventArgs
Provides event data for the SelectionChanged event. |
TappedEventArgs
Provides event data for the Tapped event. |
ZoomLevelChangingEventArgs
Provides event data for the ZoomLevelChanging event. |
Interfaces
IShapeLayer
Class which represente the common for shape and sublayer. |