flet-map 0.2.0.dev504__tar.gz → 0.70.0.dev6293__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flet-map might be problematic. Click here for more details.
- {flet_map-0.2.0.dev504/src/flet_map.egg-info → flet_map-0.70.0.dev6293}/PKG-INFO +12 -24
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/README.md +6 -18
- flet_map-0.70.0.dev6293/pyproject.toml +24 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/__init__.py +2 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/circle_layer.py +0 -1
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/map.py +1 -2
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/marker_layer.py +0 -1
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/polygon_layer.py +6 -1
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/polyline_layer.py +4 -1
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/rich_attribution.py +0 -1
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/simple_attribution.py +0 -1
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/tile_layer.py +0 -1
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/types.py +6 -6
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293/src/flet_map.egg-info}/PKG-INFO +12 -24
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map.egg-info/SOURCES.txt +0 -4
- flet_map-0.70.0.dev6293/src/flet_map.egg-info/requires.txt +1 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/tile_layer.dart +1 -2
- flet_map-0.70.0.dev6293/src/flutter/flet_map/pubspec.yaml +25 -0
- flet_map-0.2.0.dev504/pyproject.toml +0 -97
- flet_map-0.2.0.dev504/src/flet_map.egg-info/requires.txt +0 -1
- flet_map-0.2.0.dev504/src/flutter/flet_map/CHANGELOG.md +0 -7
- flet_map-0.2.0.dev504/src/flutter/flet_map/LICENSE +0 -201
- flet_map-0.2.0.dev504/src/flutter/flet_map/README.md +0 -3
- flet_map-0.2.0.dev504/src/flutter/flet_map/pubspec.lock +0 -904
- flet_map-0.2.0.dev504/src/flutter/flet_map/pubspec.yaml +0 -26
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/LICENSE +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/setup.cfg +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/map_layer.py +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map/source_attribution.py +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map.egg-info/dependency_links.txt +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flet_map.egg-info/top_level.txt +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/analysis_options.yaml +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/flet_map.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/circle_layer.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/extension.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/map.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/marker_layer.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/polygon_layer.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/polyline_layer.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/rich_attribution.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/simple_attribution.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/utils/attribution_alignment.dart +0 -0
- {flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/utils/map.dart +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-map
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.70.0.dev6293
|
|
4
|
+
Summary: Interactive map controls for Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://flet.dev
|
|
8
|
-
Project-URL: Documentation, https://flet
|
|
9
|
-
Project-URL: Repository, https://github.com/flet-dev/flet-map
|
|
10
|
-
Project-URL: Issues, https://github.com/flet-dev/flet
|
|
8
|
+
Project-URL: Documentation, https://docs.flet.dev/map
|
|
9
|
+
Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-map
|
|
10
|
+
Project-URL: Issues, https://github.com/flet-dev/flet/issues
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: flet
|
|
14
|
+
Requires-Dist: flet==0.70.0.dev6293
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-map
|
|
18
18
|
|
|
19
19
|
[](https://pypi.python.org/pypi/flet-map)
|
|
20
20
|
[](https://pepy.tech/project/flet-map)
|
|
21
|
-
[](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-map/LICENSE)
|
|
22
22
|
|
|
23
23
|
A [Flet](https://flet.dev) extension for displaying interactive maps.
|
|
24
24
|
|
|
@@ -26,20 +26,13 @@ It is based on the [flutter_map](https://pub.dev/packages/flutter_map) Flutter p
|
|
|
26
26
|
|
|
27
27
|
## Documentation
|
|
28
28
|
|
|
29
|
-
Detailed documentation to this package can be found [here](https://flet
|
|
29
|
+
Detailed documentation to this package can be found [here](https://docs.flet.dev/map/).
|
|
30
30
|
|
|
31
31
|
## Platform Support
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
|
36
|
-
|----------|:---------:|
|
|
37
|
-
| Windows | ✅ |
|
|
38
|
-
| macOS | ✅ |
|
|
39
|
-
| Linux | ✅ |
|
|
40
|
-
| iOS | ✅ |
|
|
41
|
-
| Android | ✅ |
|
|
42
|
-
| Web | ✅ |
|
|
33
|
+
| Platform | Windows | macOS | Linux | iOS | Android | Web |
|
|
34
|
+
|----------|---------|-------|-------|-----|---------|-----|
|
|
35
|
+
| Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
43
36
|
|
|
44
37
|
## Usage
|
|
45
38
|
|
|
@@ -58,11 +51,6 @@ To install the `flet-map` package and add it to your project dependencies:
|
|
|
58
51
|
```
|
|
59
52
|
After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
|
|
60
53
|
|
|
61
|
-
- Using `poetry`:
|
|
62
|
-
```bash
|
|
63
|
-
poetry add flet-map
|
|
64
|
-
```
|
|
65
|
-
|
|
66
54
|
### Examples
|
|
67
55
|
|
|
68
|
-
For examples, see [these](
|
|
56
|
+
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/controls/map).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://pypi.python.org/pypi/flet-map)
|
|
4
4
|
[](https://pepy.tech/project/flet-map)
|
|
5
|
-
[](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-map/LICENSE)
|
|
6
6
|
|
|
7
7
|
A [Flet](https://flet.dev) extension for displaying interactive maps.
|
|
8
8
|
|
|
@@ -10,20 +10,13 @@ It is based on the [flutter_map](https://pub.dev/packages/flutter_map) Flutter p
|
|
|
10
10
|
|
|
11
11
|
## Documentation
|
|
12
12
|
|
|
13
|
-
Detailed documentation to this package can be found [here](https://flet
|
|
13
|
+
Detailed documentation to this package can be found [here](https://docs.flet.dev/map/).
|
|
14
14
|
|
|
15
15
|
## Platform Support
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
|
20
|
-
|----------|:---------:|
|
|
21
|
-
| Windows | ✅ |
|
|
22
|
-
| macOS | ✅ |
|
|
23
|
-
| Linux | ✅ |
|
|
24
|
-
| iOS | ✅ |
|
|
25
|
-
| Android | ✅ |
|
|
26
|
-
| Web | ✅ |
|
|
17
|
+
| Platform | Windows | macOS | Linux | iOS | Android | Web |
|
|
18
|
+
|----------|---------|-------|-------|-----|---------|-----|
|
|
19
|
+
| Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
27
20
|
|
|
28
21
|
## Usage
|
|
29
22
|
|
|
@@ -42,11 +35,6 @@ To install the `flet-map` package and add it to your project dependencies:
|
|
|
42
35
|
```
|
|
43
36
|
After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
|
|
44
37
|
|
|
45
|
-
- Using `poetry`:
|
|
46
|
-
```bash
|
|
47
|
-
poetry add flet-map
|
|
48
|
-
```
|
|
49
|
-
|
|
50
38
|
### Examples
|
|
51
39
|
|
|
52
|
-
For examples, see [these](
|
|
40
|
+
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/controls/map).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "flet-map"
|
|
3
|
+
version = "0.70.0.dev6293"
|
|
4
|
+
description = "Interactive map controls for Flet apps."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
|
|
7
|
+
license = "Apache-2.0"
|
|
8
|
+
requires-python = ">=3.10"
|
|
9
|
+
dependencies = [
|
|
10
|
+
"flet==0.70.0.dev6293",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
[project.urls]
|
|
14
|
+
Homepage = "https://flet.dev"
|
|
15
|
+
Documentation = "https://docs.flet.dev/map"
|
|
16
|
+
Repository = "https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-map"
|
|
17
|
+
Issues = "https://github.com/flet-dev/flet/issues"
|
|
18
|
+
|
|
19
|
+
[tool.setuptools.package-data]
|
|
20
|
+
"flutter.flet_map" = ["**/*"]
|
|
21
|
+
|
|
22
|
+
[build-system]
|
|
23
|
+
requires = ["setuptools"]
|
|
24
|
+
build-backend = "setuptools.build_meta"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from flet_map.circle_layer import CircleLayer, CircleMarker
|
|
2
2
|
from flet_map.map import Map
|
|
3
|
+
from flet_map.map_layer import MapLayer
|
|
3
4
|
from flet_map.marker_layer import Marker, MarkerLayer
|
|
4
5
|
from flet_map.polygon_layer import PolygonLayer, PolygonMarker
|
|
5
6
|
from flet_map.polyline_layer import PolylineLayer, PolylineMarker
|
|
@@ -62,6 +63,7 @@ __all__ = [
|
|
|
62
63
|
"MapHoverEvent",
|
|
63
64
|
"MapLatitudeLongitude",
|
|
64
65
|
"MapLatitudeLongitudeBounds",
|
|
66
|
+
"MapLayer",
|
|
65
67
|
"MapPointerEvent",
|
|
66
68
|
"MapPositionChangeEvent",
|
|
67
69
|
"MapTapEvent",
|
|
@@ -2,7 +2,6 @@ from dataclasses import field
|
|
|
2
2
|
from typing import Optional
|
|
3
3
|
|
|
4
4
|
import flet as ft
|
|
5
|
-
|
|
6
5
|
from flet_map.map_layer import MapLayer
|
|
7
6
|
from flet_map.types import (
|
|
8
7
|
CameraFit,
|
|
@@ -19,7 +18,7 @@ __all__ = ["Map"]
|
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
@ft.control("Map")
|
|
22
|
-
class Map(ft.
|
|
21
|
+
class Map(ft.LayoutControl):
|
|
23
22
|
"""
|
|
24
23
|
An interactive map that displays various layers.
|
|
25
24
|
"""
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from typing import Optional
|
|
2
2
|
|
|
3
3
|
import flet as ft
|
|
4
|
-
|
|
5
4
|
from flet_map.map_layer import MapLayer
|
|
6
5
|
from flet_map.types import MapLatitudeLongitude
|
|
7
6
|
|
|
@@ -109,7 +108,13 @@ class PolygonLayer(MapLayer):
|
|
|
109
108
|
|
|
110
109
|
simplification_tolerance: ft.Number = 0.3
|
|
111
110
|
"""
|
|
111
|
+
The tolerance value used to simplify polygon outlines before rendering.
|
|
112
|
+
|
|
113
|
+
Higher values will result in polygons with fewer points, which can improve
|
|
114
|
+
rendering performance at the cost of reduced geometric accuracy. Lower values
|
|
115
|
+
preserve more detail but may decrease performance, especially with complex polygons.
|
|
112
116
|
|
|
117
|
+
Set to 0 to disable simplification.
|
|
113
118
|
"""
|
|
114
119
|
|
|
115
120
|
use_alternative_rendering: bool = False
|
|
@@ -2,7 +2,6 @@ from dataclasses import field
|
|
|
2
2
|
from typing import Optional
|
|
3
3
|
|
|
4
4
|
import flet as ft
|
|
5
|
-
|
|
6
5
|
from flet_map.map_layer import MapLayer
|
|
7
6
|
from flet_map.types import MapLatitudeLongitude, SolidStrokePattern, StrokePattern
|
|
8
7
|
|
|
@@ -114,5 +113,9 @@ class PolylineLayer(MapLayer):
|
|
|
114
113
|
|
|
115
114
|
simplification_tolerance: ft.Number = 0.3
|
|
116
115
|
"""
|
|
116
|
+
The tolerance (in map units) used to simplify polylines for rendering.
|
|
117
117
|
|
|
118
|
+
Higher values result in more aggressive simplification,
|
|
119
|
+
which can improve performance but may reduce the accuracy of
|
|
120
|
+
the displayed polyline.
|
|
118
121
|
"""
|
|
@@ -3,6 +3,7 @@ from enum import Enum, IntFlag
|
|
|
3
3
|
from typing import TYPE_CHECKING, Optional
|
|
4
4
|
|
|
5
5
|
import flet as ft
|
|
6
|
+
from flet.controls.animation import AnimationCurve
|
|
6
7
|
|
|
7
8
|
if TYPE_CHECKING:
|
|
8
9
|
from flet_map.map import Map # noqa
|
|
@@ -620,7 +621,7 @@ class CameraFit:
|
|
|
620
621
|
|
|
621
622
|
Raises:
|
|
622
623
|
AssertionError: If both [`bounds`][(c).] and [`coordinates`][(c).]
|
|
623
|
-
|
|
624
|
+
are `None` or not `None`.
|
|
624
625
|
"""
|
|
625
626
|
|
|
626
627
|
bounds: Optional[MapLatitudeLongitudeBounds] = None
|
|
@@ -794,7 +795,7 @@ class KeyboardConfiguration:
|
|
|
794
795
|
default_factory=lambda: ft.Duration(milliseconds=450)
|
|
795
796
|
)
|
|
796
797
|
"""
|
|
797
|
-
Duration of the curved ([`
|
|
798
|
+
Duration of the curved ([`AnimationCurve.EASE_IN`][flet.AnimationCurve.EASE_IN])
|
|
798
799
|
portion of the animation occuring
|
|
799
800
|
after a key down event (and after a key up event if
|
|
800
801
|
[`animation_curve_reverse_duration`][..] is `None`)
|
|
@@ -804,13 +805,14 @@ class KeyboardConfiguration:
|
|
|
804
805
|
default_factory=lambda: ft.Duration(milliseconds=600)
|
|
805
806
|
)
|
|
806
807
|
"""
|
|
807
|
-
Duration of the curved (reverse
|
|
808
|
+
Duration of the curved (reverse
|
|
809
|
+
[`AnimationCurve.EASE_IN`][flet.AnimationCurve.EASE_IN])
|
|
808
810
|
portion of the animation occuring after a key up event.
|
|
809
811
|
|
|
810
812
|
Set to `None` to use [`animation_curve_duration`][..].
|
|
811
813
|
"""
|
|
812
814
|
|
|
813
|
-
animation_curve_curve:
|
|
815
|
+
animation_curve_curve: AnimationCurve = AnimationCurve.EASE_IN_OUT
|
|
814
816
|
"""
|
|
815
817
|
Curve of the curved portion of the animation occuring after
|
|
816
818
|
key down and key up events.
|
|
@@ -895,8 +897,6 @@ class KeyboardConfiguration:
|
|
|
895
897
|
|
|
896
898
|
The larger the number, the larger the movement during a leap.
|
|
897
899
|
To change the duration of a leap, see [`leap_max_of_curve_component`][..].
|
|
898
|
-
|
|
899
|
-
This may cause the pan velocity to exceed [`max_pan_velocity`][..].
|
|
900
900
|
"""
|
|
901
901
|
|
|
902
902
|
rotate_leap_velocity_multiplier: ft.Number = 3
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-map
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.70.0.dev6293
|
|
4
|
+
Summary: Interactive map controls for Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
7
7
|
Project-URL: Homepage, https://flet.dev
|
|
8
|
-
Project-URL: Documentation, https://flet
|
|
9
|
-
Project-URL: Repository, https://github.com/flet-dev/flet-map
|
|
10
|
-
Project-URL: Issues, https://github.com/flet-dev/flet
|
|
8
|
+
Project-URL: Documentation, https://docs.flet.dev/map
|
|
9
|
+
Project-URL: Repository, https://github.com/flet-dev/flet/tree/main/sdk/python/packages/flet-map
|
|
10
|
+
Project-URL: Issues, https://github.com/flet-dev/flet/issues
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: flet
|
|
14
|
+
Requires-Dist: flet==0.70.0.dev6293
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-map
|
|
18
18
|
|
|
19
19
|
[](https://pypi.python.org/pypi/flet-map)
|
|
20
20
|
[](https://pepy.tech/project/flet-map)
|
|
21
|
-
[](https://github.com/flet-dev/flet/blob/main/sdk/python/packages/flet-map/LICENSE)
|
|
22
22
|
|
|
23
23
|
A [Flet](https://flet.dev) extension for displaying interactive maps.
|
|
24
24
|
|
|
@@ -26,20 +26,13 @@ It is based on the [flutter_map](https://pub.dev/packages/flutter_map) Flutter p
|
|
|
26
26
|
|
|
27
27
|
## Documentation
|
|
28
28
|
|
|
29
|
-
Detailed documentation to this package can be found [here](https://flet
|
|
29
|
+
Detailed documentation to this package can be found [here](https://docs.flet.dev/map/).
|
|
30
30
|
|
|
31
31
|
## Platform Support
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
|
36
|
-
|----------|:---------:|
|
|
37
|
-
| Windows | ✅ |
|
|
38
|
-
| macOS | ✅ |
|
|
39
|
-
| Linux | ✅ |
|
|
40
|
-
| iOS | ✅ |
|
|
41
|
-
| Android | ✅ |
|
|
42
|
-
| Web | ✅ |
|
|
33
|
+
| Platform | Windows | macOS | Linux | iOS | Android | Web |
|
|
34
|
+
|----------|---------|-------|-------|-----|---------|-----|
|
|
35
|
+
| Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
43
36
|
|
|
44
37
|
## Usage
|
|
45
38
|
|
|
@@ -58,11 +51,6 @@ To install the `flet-map` package and add it to your project dependencies:
|
|
|
58
51
|
```
|
|
59
52
|
After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
|
|
60
53
|
|
|
61
|
-
- Using `poetry`:
|
|
62
|
-
```bash
|
|
63
|
-
poetry add flet-map
|
|
64
|
-
```
|
|
65
|
-
|
|
66
54
|
### Examples
|
|
67
55
|
|
|
68
|
-
For examples, see [these](
|
|
56
|
+
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/controls/map).
|
|
@@ -18,11 +18,7 @@ src/flet_map.egg-info/SOURCES.txt
|
|
|
18
18
|
src/flet_map.egg-info/dependency_links.txt
|
|
19
19
|
src/flet_map.egg-info/requires.txt
|
|
20
20
|
src/flet_map.egg-info/top_level.txt
|
|
21
|
-
src/flutter/flet_map/CHANGELOG.md
|
|
22
|
-
src/flutter/flet_map/LICENSE
|
|
23
|
-
src/flutter/flet_map/README.md
|
|
24
21
|
src/flutter/flet_map/analysis_options.yaml
|
|
25
|
-
src/flutter/flet_map/pubspec.lock
|
|
26
22
|
src/flutter/flet_map/pubspec.yaml
|
|
27
23
|
src/flutter/flet_map/lib/flet_map.dart
|
|
28
24
|
src/flutter/flet_map/lib/src/circle_layer.dart
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flet==0.70.0.dev6293
|
{flet_map-0.2.0.dev504 → flet_map-0.70.0.dev6293}/src/flutter/flet_map/lib/src/tile_layer.dart
RENAMED
|
@@ -2,7 +2,6 @@ import 'package:flet/flet.dart';
|
|
|
2
2
|
import 'package:flutter/material.dart';
|
|
3
3
|
import 'package:flutter/widgets.dart';
|
|
4
4
|
import 'package:flutter_map/flutter_map.dart';
|
|
5
|
-
import 'package:flutter_map_cancellable_tile_provider/flutter_map_cancellable_tile_provider.dart';
|
|
6
5
|
|
|
7
6
|
import './utils/map.dart';
|
|
8
7
|
|
|
@@ -36,7 +35,7 @@ class TileLayerControl extends StatelessWidget {
|
|
|
36
35
|
?.map((e) => e.toString())
|
|
37
36
|
.toList() ??
|
|
38
37
|
['a', 'b', 'c'],
|
|
39
|
-
tileProvider:
|
|
38
|
+
tileProvider: NetworkTileProvider(),
|
|
40
39
|
tileDisplay: parseTileDisplay(
|
|
41
40
|
control.get("display_mode"), const TileDisplay.fadeIn())!,
|
|
42
41
|
tileDimension: control.getInt("tile_size", 256)!,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: flet_map
|
|
2
|
+
description: Flet Map control
|
|
3
|
+
version: 0.1.0
|
|
4
|
+
publish_to: none
|
|
5
|
+
|
|
6
|
+
environment:
|
|
7
|
+
sdk: '>=3.2.3 <4.0.0'
|
|
8
|
+
flutter: ">=1.17.0"
|
|
9
|
+
|
|
10
|
+
dependencies:
|
|
11
|
+
flutter:
|
|
12
|
+
sdk: flutter
|
|
13
|
+
|
|
14
|
+
collection: ^1.16.0
|
|
15
|
+
flutter_map: 8.2.2
|
|
16
|
+
flutter_map_animations: 0.9.0
|
|
17
|
+
latlong2: 0.9.1
|
|
18
|
+
|
|
19
|
+
flet:
|
|
20
|
+
path: ../../../../../../../packages/flet
|
|
21
|
+
|
|
22
|
+
dev_dependencies:
|
|
23
|
+
flutter_test:
|
|
24
|
+
sdk: flutter
|
|
25
|
+
flutter_lints: ^3.0.0
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "flet-map"
|
|
3
|
-
version = "0.2.0.dev504"
|
|
4
|
-
description = "Display interactive Maps in your Flet apps."
|
|
5
|
-
readme = "README.md"
|
|
6
|
-
authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
|
|
7
|
-
license = "Apache-2.0"
|
|
8
|
-
requires-python = ">=3.10"
|
|
9
|
-
dependencies = [
|
|
10
|
-
"flet >=0.70.0.dev0",
|
|
11
|
-
]
|
|
12
|
-
|
|
13
|
-
[project.urls]
|
|
14
|
-
Homepage = "https://flet.dev"
|
|
15
|
-
Documentation = "https://flet-dev.github.io/flet-map"
|
|
16
|
-
Repository = "https://github.com/flet-dev/flet-map"
|
|
17
|
-
Issues = "https://github.com/flet-dev/flet-map/issues"
|
|
18
|
-
|
|
19
|
-
[tool.setuptools.package-data]
|
|
20
|
-
"flutter.flet_map" = ["**/*"]
|
|
21
|
-
|
|
22
|
-
[dependency-groups]
|
|
23
|
-
test = [
|
|
24
|
-
"pytest >=7.2.0",
|
|
25
|
-
]
|
|
26
|
-
lint = [
|
|
27
|
-
"ruff >=0.11.7",
|
|
28
|
-
]
|
|
29
|
-
dev = [
|
|
30
|
-
"pre-commit >=4.2.0",
|
|
31
|
-
{ include-group = 'lint' },
|
|
32
|
-
{ include-group = 'test' },
|
|
33
|
-
]
|
|
34
|
-
docs-coverage = [
|
|
35
|
-
"docstr-coverage >=2.3.2",
|
|
36
|
-
]
|
|
37
|
-
docs = [
|
|
38
|
-
"mkdocs >=1.6.1",
|
|
39
|
-
"mkdocs-material >=9.6.15",
|
|
40
|
-
"mkdocstrings-python >=1.16.12",
|
|
41
|
-
"mkdocstrings-python-xref >=1.16.3",
|
|
42
|
-
"mike >=2.1.3",
|
|
43
|
-
"markdown >=3.6",
|
|
44
|
-
"pymdown-extensions >=10.16",
|
|
45
|
-
"mkdocs-exclude >=1.0.2",
|
|
46
|
-
"mkdocs-glightbox >=0.4.0",
|
|
47
|
-
"mkdocs-open-in-new-tab >=1.0.8",
|
|
48
|
-
"mkdocs-section-index >=0.3.10",
|
|
49
|
-
"griffe-modernized-annotations >=1.0.8",
|
|
50
|
-
"griffe-warnings-deprecated >=1.1.0",
|
|
51
|
-
"pygments >=2.16",
|
|
52
|
-
"markdown-exec[ansi] >=1.11.0",
|
|
53
|
-
"pydocstyle >=6.3.0",
|
|
54
|
-
"linkcheckmd >=1.4.0",
|
|
55
|
-
"mkdocs-external-images",
|
|
56
|
-
{ include-group = 'docs-coverage' },
|
|
57
|
-
]
|
|
58
|
-
all = [
|
|
59
|
-
{ include-group = 'dev' },
|
|
60
|
-
{ include-group = 'docs' },
|
|
61
|
-
]
|
|
62
|
-
|
|
63
|
-
[tool.uv.sources]
|
|
64
|
-
mkdocs-external-images = { git = "https://github.com/flet-dev/mkdocs-external-images", tag = "v0.2.0" }
|
|
65
|
-
|
|
66
|
-
[build-system]
|
|
67
|
-
requires = ["setuptools"]
|
|
68
|
-
build-backend = "setuptools.build_meta"
|
|
69
|
-
|
|
70
|
-
[tool.ruff]
|
|
71
|
-
line-length = 88
|
|
72
|
-
target-version = "py39"
|
|
73
|
-
fix = true
|
|
74
|
-
show-fixes = true
|
|
75
|
-
|
|
76
|
-
[tool.ruff.lint]
|
|
77
|
-
select = [
|
|
78
|
-
# pycodestyle
|
|
79
|
-
"E",
|
|
80
|
-
# Pyflakes
|
|
81
|
-
"F",
|
|
82
|
-
# pyupgrade
|
|
83
|
-
"UP",
|
|
84
|
-
# flake8-bugbear
|
|
85
|
-
"B",
|
|
86
|
-
# flake8-simplify
|
|
87
|
-
"SIM",
|
|
88
|
-
# isort
|
|
89
|
-
"I"
|
|
90
|
-
]
|
|
91
|
-
preview = true
|
|
92
|
-
pydocstyle = { convention = 'google' }
|
|
93
|
-
|
|
94
|
-
[tool.ruff.format]
|
|
95
|
-
quote-style = "double"
|
|
96
|
-
indent-style = "space"
|
|
97
|
-
line-ending = "auto"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
flet>=0.70.0.dev0
|