FLUTTER ECOSYSTEM

latlong

Lightweight library for common latitude and longitude calculation

Latest version
0.6.1
30-day downloads
839
Likes
116
Pub points
10

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A lightweight Dart library designed for efficient latitude and longitude calculations. It provides essential geospatial operations such as distance computation, midpoint determination, and coordinate transformations. Ideal for applications requiring basic geographic math without heavy dependencies. The package is simple to integrate and well-suited for mobile and web apps needing location-based logic. It supports core geolocation utilities with minimal overhead.

Use cases
  • Calculating distances between two coordinates
  • Finding midpoints between locations
  • Converting between coordinate formats
  • Implementing location-based filters
  • Building navigation helpers
  • Geofencing logic
Key features
  • Minimal footprint
  • Supports Haversine distance
  • Coordinate arithmetic
  • Easy integration
  • No external dependencies
  • Cross-platform compatibility
Suitable for
  • Mobile apps with location features
  • Web mapping tools
  • Simple geospatial calculations
  • Prototyping location logic
  • Apps needing lightweight geolocation utilities
Considerations
  • Limited to basic geospatial math
  • No map rendering support
  • Does not handle complex projections
  • Not suitable for advanced GIS tasks
  • No built-in geocoding
  • Requires manual handling of edge cases
Supported platformsNot available

Install package

flutter pub add latlong

Categories

Dependencies

Dependency list 4 items
  • console_log_handler>=1.1.0 <2.0.0
  • intl>=0.15.0 <1.0.0
  • logging>=0.11.3 <1.0.0
  • validate^1.0.0

Source repository

Related projects