mapkit_snapshotter_flutter_plus 0.0.1 copy "mapkit_snapshotter_flutter_plus: ^0.0.1" to clipboard
mapkit_snapshotter_flutter_plus: ^0.0.1 copied to clipboard

PlatformiOS

A flutter plugin for iOS to expose MKMapSnapshotter to your flutter project.

MapKit Snapshotter #

A Flutter plugin which provides the MKMapScreenshoter. This integrates with the default Image Widget of Flutter.

Screenshots #

Example 1 (Standard) Example 2 (Hybrid)

Usage #

This plugin is only available on iOS as it uses the MapKit SDK.

Usage example:

final widget = Image(
  image: MapKitSnapshotterImage(
    MapKitSnapshotterOptions(
      /// Defines the region to capture.
      region: MapKitSnapshotterRegion(
        centerLatitude: 53.552363,
        centerLongitude: 9.990831,
        latitudeMeters: 2000,
        longitudeMeters: 2000,
      ),
      /// Additional properties for the snapshot.
      brightness: MapKitSnapshotterBrightness.light,
      mapType: MapKitSnapshotterMapType.hybridFlyover,
    ),
  ),
  height: 100,
  width: 100,
);

/// ... Use your widget

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
140
points
75
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter plugin for iOS to expose MKMapSnapshotter to your flutter project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, json_annotation, json_serializable

More

Packages that depend on mapkit_snapshotter_flutter_plus