static_map_service 1.0.0 copy "static_map_service: ^1.0.0" to clipboard
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.

1.0.0 #

Features #

  • Support Mapbox Static Images API.
  • Apple Maps: Support overlays and images parameters.
  • Implement Encoded Polyline Algorithm for efficient paths.
  • Add example project.

Fixes #

  • Google Maps: Fix URL generation for multiple markers and styles to conform to multi-value parameter specifications.

Refactoring & Others #

  • Breaking Change: Refactor MapboxMapService to use .auto() constructor for automatic viewport fitting.
  • Internal parameter building logic refactor for better maintainability and type safety.
  • Convert all Mapbox overlays to extension type const for better performance and consistency.
  • Achieve 100% test coverage with robust assertion and boundary checks.
  • Support Dart 3.8 features (null-aware collection elements).
  • Setup GitHub Actions CI.
  • Add topics and repository info to pubspec.yaml.
  • Improve documentation.

0.0.2 #

  • Use extension type.

0.0.1 #

  • Initial version.
1
likes
160
points
213
downloads

Publisher

verified publisherkoji-1009.com

Weekly Downloads

A type-safe Dart package for generating static map image URLs from Google Maps, Apple Maps, and Mapbox.

Repository (GitHub)
View/report issues

Topics

#map #static-maps #google-maps #apple-maps #mapbox

Documentation

API reference

License

MIT (license)

More

Packages that depend on static_map_service