static_map_service 1.0.0
static_map_service: ^1.0.0 copied to clipboard
A type-safe Dart package for generating static map image URLs from Google Maps, Apple Maps, and Mapbox.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add static_map_serviceWith Flutter:
$ flutter pub add static_map_serviceThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
static_map_service: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:static_map_service/static_map_service.dart';