refactor
This commit is contained in:
parent
ac62865cd6
commit
7409b9d4cd
3 changed files with 57 additions and 79 deletions
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue