flutter_simple_map library
Classes
- BackgroundLabelStyle
- CircleMaker
- Defines a circle marker to be painted on the map.
- CircleMakerBuilder
- A CircleMaker builder.
- Drawable
- Defines how a MapFeature should be painted on the map.
- DrawableBuilder
- Drawable builder.
- DrawableFeature
- DrawableLabelData
- DrawableLayer
- Holds all geometry layers to be paint in the current resolution.
- DrawableLayerChunk
- DrawableLine
- Defines a line or multi line to be painted on the map.
- DrawablePath
- Defines a path to be painted on the map.
- DrawablePolygon
- Defines a polygon or multi polygon to be painted on the map.
- GeometrySimplifier
- Simplifies geometry by ignoring unnecessary points for viewing on the screen.
- IntegerSimplifier
- Ignores points that collide on the same physical pixel.
- Keys
- MapDataSource
- SimpleMap data source.
- MapFeature
- A representation of a real-world object on a map.
- MapFeatureReader
- MapFeature reader
- MapGeometryReader
- GeoJSON geometry reader.
- MapGradientHighlight
- Rule to find out which MapFeature should be highlighted.
- MapGradientTheme
- Theme for gradient colors.
- MapHighlight
- Base class to define which MapFeature should be highlighted.
- MapHighlightTheme
- The theme for highlights.
- MapLayer
- Layer for SimpleMap.
- MapLinearRing
- Line ring geometry.
- MapLineString
- It's a list of points that can be drawn a line on a canvas
- MapMultiLineString
- Multi line string geometry.
- MapMultiPolygon
- Multi polygon geometry.
- MapPoint
-
MapPoint
is aOffset
with abounds
property - MapPolygon
- Polygon geometry.
- MapRuleTheme
- Theme for colors by rule.
- MapSingleHighlight
- Defines a single MapFeature to be highlighted.
- MapTheme
- The SimpleMap theme.
- MapValueTheme
- Theme for colors by value.
- Marker
- Defines a marker to be painted on the map.
- MarkerBuilder
- Marker builder.
- NoSimplifier
- Does not apply any simplification.
- PropertyLimits
- Stores the number limits, max and min, for a given feature property.
- SimpleMap
- Vector map widget.
- SimpleMapApi
- Defines the map API. Through this class, plugins and addons will be able to automate the map.
- SimpleMapController
- SimplifiedPath
- Stores a simplified path generated from the original MapFeature geometry.
Enums
- ColorValueFormat
- GeometryType
- MapType
- SimpleMapMode
- Indicates in which interaction mode the map is working.
Mixins
- MapGeometry
- A mixin for map geometry to easy to get Rect bounds and pointsCount
Typedefs
- BackgroundLabelBuilder = BackgroundLabelStyle Function(MapFeature feature)
- Defines the label background style visibility of a MapFeature
- BackgroundLabelVisibility = bool Function(MapFeature feature)
- Defines the label background visibility of a MapFeature
- ColorRule = Color? Function(MapFeature feature)
- Rule to obtain a color of a feature.
- FeaturePressListener = void Function(MapFeature feature)
- HighlightListener = void Function(MapFeature? feature, Offset? offset)
- HighlightRule = bool Function(MapFeature feature)
- LabelBuilder = String? Function(MapFeature feature)
- LabelMarginBuilder = Offset Function(MapFeature feature)
- LabelStyleBuilder = TextStyle Function(MapFeature feature, Color featureColor, Color labelColor)
- The label style builder.
- LabelVisibility = bool Function(MapFeature feature)
- Defines the visibility of a MapFeature
Exceptions / Errors
- SimpleMapError
- Generic SimpleMap error