This commit is contained in:
randogoth 2025-02-27 15:38:39 +02:00
parent ac62865cd6
commit 7409b9d4cd
3 changed files with 57 additions and 79 deletions

View file

@ -73,11 +73,10 @@ GeoMetadataLookup({
#### **`cacheExpirationDuration` (Duration)**
- Specifies how long cached files are kept before deletion.
## Testing
Run unit tests with:
```sh
flutter test
```
## Changes in Data Handling
- The library now ensures compatibility with **Point** instead of **Position** for `booleanPointInPolygon` and `_isPointNearLine`.
- Web caching uses `SharedPreferences`, while file-based caching is used on other platforms.
- `lookup()` internally converts coordinates into `Point(coordinates: [longitude, latitude])`.
## Author
[@randogoth](https://github.com/randogoth)