lat_lng_to_timezone
0.2.0, released 6 years ago by an unverified publisher
Lat/long to timezone mapper in Dart without web services or data files.
WASM-ready
What it does
Maps latitude and longitude coordinates to a timezone identifier in Dart. It uses hardcoded polygon mappings internally and relies on system libraries for offsets and daylight savings updates.
AI-written summary of version 0.2.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to determine the timezone from geographic coordinates locally
- You want to avoid external web service calls for timezone lookups
- You want to avoid bundling large external data files
Skip it when
- You need frequent upstream polygon updates that are not yet ported
- You require complex timezone boundary calculations beyond the hardcoded polygons
Strengths
- Does not require web services
- Does not require external data files
- Delegates daylight savings and offsets to system libraries
Weaknesses
- Relies on hardcoded polygon mappings that require manual updates from upstream
- Limited documentation and examples provided in README
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
not documentedAlternatives
Packages that do the same job and could replace lat_lng_to_timezone.
- geoclue
Dart client for the GeoClue D-Bus geolocation service on Linux.
50Compare - fl_location
Plugin to access device location on Android, iOS, and Web
50Compare