ymir 2.2.0 copy "ymir: ^2.2.0" to clipboard
ymir: ^2.2.0 copied to clipboard

A new Flutter package for handling FlutterMap package and geographic utils

2.2.0 #

  • added serialization methodes for [GeoJsonDto]
  • edited CRS class to match norm (properties from list to map)

2.1.1 #

  • added [PolygonLayerParams] to configure [InterractiveMapLayer] at PolygonLayer level
    • one param available ATM: invertedFillColor

2.1.0 #

  • added imageOverlayLayers support here is how you declare it in layers
InterractiveMapLayer(
    imageOverlays: [
        OverlayImage(
            bounds: LatLngBounds(
            const LatLng(43.670855660, 5.037817565), // Coin nord-ouest
            const LatLng(43.401691990, 5.811724055), // Coin sud-est
            ),
            imageProvider: CachedNetworkImageProvider(
            "${ApiRouteUtils.apiRoute}/img/layers/scenario_002.png",
            ),
        ),
    ]
),

2.0.1 #

  • added onPointerUp and onPointerDown callbacks

2.0.0 #

Downgraded to flutter_map 8.0.1 forward export of flutter_map & geodesy [BCBREAK] removed polygonFromHitValues -> Use onTapDownLayer & onHoverLayer instead, they directly provide the hit objects

1.1.2 #

[BCBREAK] changed geomType enum to match offical geojson norm (line -> linestring, multiline -> multilinestring)

1.1.1 #

  • cancellable network tiles on web
  • migrated to flutter_map: ^8.2.2

1.0.1 #

  • added [YmirDebug] to customize the debug print you want to see
  • Fixed state problem causing MenuOverlay to close when hovering interractive map elements

1.0.0 #

  • Reworked all controlling logic
  • Removed unuseful parameters from [OwlnextMap]

0.0.8 #

  • added a forceRefresh callback of [LazyloadMapLayer] /// Forces a refresh of the layer even if no movement occurred. /// Useful for manual reloads or zoom-triggered events.

0.0.7 #

added FormatException('Invalid or missing "coordinates" in GeoJSON polygon');

0.0.6 #

removed mapController dispose on [owlnextMap] dispose(). it was causing state errors for specific use cases. responsibility is now delageted to the package's user, dont forget to call .dispose() onto your map controller to free up memory

0.0.5 #

  • Added handleMapScreenshot callback attacher to trigger it from outside [OwlnextMap]

0.0.4 #

  • FIX IGN url changed

0.0.1 #

  • TODO: Describe initial release.
0
likes
110
points
248
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package for handling FlutterMap package and geographic utils

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_map, geodesy, lambert

More

Packages that depend on ymir