location_iq 1.1.0 copy "location_iq: ^1.1.0" to clipboard
location_iq: ^1.1.0 copied to clipboard

A comprehensive, type-safe Dart client for the LocationIQ API with support for geocoding, reverse geocoding, autocomplete, nearby POI, directions, timezone, and account balance services.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.1.0 - 2025-05-27 #

Added #

  • Nearby Points of Interest API - Find restaurants, schools, hospitals, and other POIs
    • NearbyPOIService with specialized methods for different POI types
    • Support for radius-based search with customizable limits
    • Detailed POI information including distance, category, and address
  • Directions API - Comprehensive route planning
    • Support for driving, walking, and cycling profiles
    • Turn-by-turn directions with detailed maneuvers
    • Route optimization and waypoint support
    • Distance and duration calculations
  • Timezone API - Timezone information services
    • Current and historical timezone data for any coordinate
    • DST (Daylight Saving Time) support and calculations
    • UTC offset information and formatting helpers
  • Balance API - Account monitoring and usage tracking
    • Real-time account balance checking
    • Usage percentage calculations
    • Sufficient balance validation methods
  • Enhanced Documentation
    • Comprehensive usage examples for all new services
    • Updated README with complete feature overview
    • Improved error handling documentation
  • Robust Testing
    • 89 comprehensive unit tests
    • Full mock coverage for all new services
    • Type-safe test data and validation

Improved #

  • API Key Validation - Enhanced validation in LocationIQClient constructor
  • Error Handling - More specific exception types and better error messages
  • Type Safety - Fixed coordinate type casting issues across all services
  • Parameter Validation - Consistent validation across all service methods

Fixed #

  • Type casting issues in existing geocoding and autocomplete services
  • Missing required fields in model classes
  • Parameter validation edge cases
  • Test data consistency issues

1.0.0 - 2025-05-26 #

Added #

  • Initial stable release
  • Complete LocationIQ API implementation:
    • Free-form forward geocoding
    • Structured forward geocoding
    • Postal code forward geocoding
    • Reverse geocoding
    • Address autocomplete
  • Type-safe API with null safety
  • Comprehensive error handling system
  • Custom HTTP client support
  • Configurable timeouts
  • Extensive documentation
  • Unit tests

Changed #

  • Refactored service architecture for better maintainability
  • Improved error handling with specific exception types
  • Enhanced request parameter handling

0.2.0 - 2024-10-20 #

Added #

  • Basic implementations of all services
  • Error handling system
  • Initial documentation

Changed #

  • Restructured project layout
  • Improved service interfaces

0.1.0 - 2024-10-15 #

Added #

  • Project initialization
  • Basic project structure
  • Initial service implementations
  • Core HTTP client wrapper
1
likes
0
points
17
downloads

Publisher

verified publishertakara.homes

Weekly Downloads

A comprehensive, type-safe Dart client for the LocationIQ API with support for geocoding, reverse geocoding, autocomplete, nearby POI, directions, timezone, and account balance services.

Repository (GitHub)
View/report issues

Topics

#geocoding #maps #location #api-client #locationiq

Documentation

Documentation

License

unknown (license)

Dependencies

http, json_annotation, meta

More

Packages that depend on location_iq