flutter_mapstyler library
Bridges mapstyler_style with flutter_map.
The package evaluates mapstyler expressions and filters against
StyledFeature data, then converts matching symbolizers into
flutter_map layer widgets.
Classes
- MarkPainter
- Paints Well-Known-Name marker shapes on a canvas.
- RTree
- R-Tree mit STR (Sort-Tile-Recursive) Bulk-Loading fuer raeumliche Abfragen.
- StyledFeature
- Minimal feature model for styled map data.
- StyledFeatureCollection
- An ordered collection of StyledFeatures.
- StyleRenderer
-
Converts
mapstyler_styleobjects intoflutter_maplayer widgets.
Extensions
- StyledFeatureCollectionSpatial on StyledFeatureCollection
- Spatial-index extensions on StyledFeatureCollection.
Functions
-
evaluateExpression<
T> (Expression< T> ? expression, Map<String, Object?> properties) → T? -
Evaluates a mapstyler
Expressionagainst feature properties. -
evaluateFilter(
Filter? filter, Map< String, Object?> properties, {Geometry? geometry}) → bool -
Evaluates a mapstyler
Filteragainst feature properties. -
parseHexColor(
String hex, {double opacity = 1.0}) → Color - Parses a hex color string to a Flutter Color.
-
selectRulesAtScale(
Style style, double scaleDenominator) → List< Rule> -
Selects rules whose
ScaleDenominatorincludes the given value.
Typedefs
- FeatureLongPressCallback = void Function(StyledFeature feature)
- Callback when a feature is long-pressed on the map.
- FeatureTapCallback = void Function(StyledFeature feature)
- Callback when a feature is tapped on the map.