apple_map_snapshotter 1.0.0
apple_map_snapshotter: ^1.0.0 copied to clipboard
Generate static Apple Maps snapshots on iOS using MapKit's MKMapSnapshotter. Perfect for displaying map previews without loading a full interactive map.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add apple_map_snapshotterThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
apple_map_snapshotter: ^1.0.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:apple_map_snapshotter/apple_map_snapshotter.dart';