maps library
Syncfusion Flutter Maps package is a data visualization library for creating beautiful, interactive, and customizable maps from shape files or WMTS services to visualize the geographical area.
To use, import package:syncfusion_flutter_maps/maps.dart
.
See also:
Classes
- BehaviorView
- Widget for MapZoomPanBehavior.
- BehaviorViewRenderObjectWidget
- Render object widget of the internal widget which handles the MapZoomPanBehavior.
- MapArc
- Creates an arc by connecting the two geographical coordinates.
- MapArcLayer
- A sublayer which renders group of MapArc on MapShapeLayer and MapTileLayer.
- MapBehavior
- Base class of the map behaviors.
- MapBubbleSettings
- Customizes the appearance of the bubbles.
- MapCircle
- Creates a circle which is drawn based on the given center and radius.
- MapCircleLayer
- A sublayer which renders group of MapCircle on MapShapeLayer and MapTileLayer.
- MapColorMapper
- Customizes the shape or bubble color based on the data source and sets the text and icon color for legend items.
- MapDataLabelSettings
- Customizes the appearance of the data labels.
- MapLatLng
- Latitude and longitude in the maps.
- MapLatLngBounds
- Bounds of the maps.
- MapLayer
- Base class for the MapShapeLayer and MapTileLayer.
- MapLayerController
- Base class of MapShapeLayerController and MapTileLayerController.
- MapLegend
- Shows legend for the bubbles or shapes.
- MapLine
- Creates a line between the two geographical coordinates on the map.
- MapLineLayer
- A sublayer which renders group of MapLine on MapShapeLayer and MapTileLayer.
- MapMarker
- Markers can be used to denote the locations on the map.
- MapPanDetails
- Contains details about the current pan position.
- MapPolygon
- Creates a closed path which connects multiple geographical coordinates through group of MapPolygon.points.
- MapPolygonLayer
- A sublayer which renders group of MapPolygon on MapShapeLayer and MapTileLayer.
- MapPolyline
- Creates a polyline by connecting multiple geographical coordinates through group of points.
- MapPolylineLayer
- A sublayer which renders group of MapPolyline on MapShapeLayer and MapTileLayer.
- MapSelectionSettings
- Customizes the appearance of the selected shape.
- MapShapeLayer
- The shape layer in which geographical rendering is done.
- MapShapeLayerController
- Provides option for adding, removing, deleting and updating marker collection.
- MapShapeSource
- The source that maps the data source with the shape file and provides data for the elements of the shape layer like data labels, bubbles, tooltip, and shape colors.
- MapShapeSublayer
- The shape sublayer for tile and shape layer.
- MapSublayer
- Base class for all vector shapes like MapLineLayer, MapCircleLayer, MapArcLayer, MapPolylineLayer, and MapPolygonLayer.
- MapTileLayer
- Tile layer which renders the tiles returned from the Web Map Tile Services (WMTS) like OpenStreetMap, Bing Maps, Google Maps, TomTom etc.
- MapTileLayerController
- Provides options for adding, removing, deleting, updating markers collection and converting pixel points to latitude and longitude.
- MapToolbarSettings
- Provides options for customizing the appearance of the toolbar in the web platform.
- MapTooltipSettings
- Customizes the appearance of the bubble's or shape's tooltip.
- MapZoomDetails
- Contains details about the current zoom position.
- MapZoomPanBehavior
- Enables zooming and panning in MapShapeLayer and MapTileLayer.
- SfMaps
- A data visualization component that displays statistical information for a geographical area.
Enums
- MapElement
- Shows legend for the shapes or the bubbles.
- MapIconType
- Shapes of the legend's and marker's icon.
- MapLabelOverflow
- Behavior of the labels when it overflowed from the shape.
- MapLegendEdgeLabelsPlacement
- Placement of edge labels in the bar legend.
- MapLegendLabelsPlacement
- Option to place the labels either between the bars or on the bar in bar legend.
- MapLegendOverflowMode
- Behavior of the legend items when it overflows.
- MapLegendPaintingStyle
- Applies gradient or solid color for the bar segments.
- MapLegendPosition
- Position of the legend.
- MapToolbarPosition
- Specifies the zooming toolbar position.
Functions
-
getBingUrlTemplate(
String url) → Future< String?> - Returns the URL template in the required format for the Bing Maps.
Typedefs
- IndexedColorValueMapper = dynamic Function(int index)
- Signature to return the colors or other types from the data source based on the index based on which colors will be applied.
- IndexedDoubleValueMapper = double? Function(int index)
- Signature to return the double values from the data source based on the index.
- IndexedStringValueMapper = String Function(int index)
- Signature to return the string values from the data source based on the index.
- MapLegendPointerBuilder = Widget Function(BuildContext context, dynamic value)
- Signature to return a Widget for the given value.
- MapLoadingBuilder = Widget Function(BuildContext context)
- Signature used by the MapShapeLayer.loadingBuilder.
- MapMarkerBuilder = MapMarker Function(BuildContext context, int index)
- Signature to return the MapMarker.
- WillPanCallback = bool Function(MapPanDetails)
- Signature for a MapLayer.onWillPan callback which returns true or false based on which current panning completes.
- WillZoomCallback = bool Function(MapZoomDetails)
- Signature for a MapLayer.onWillZoom callback which returns true or false based on which current zooming completes.