flet-map 0.85.0.dev4__tar.gz → 0.85.2__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.
- {flet_map-0.85.0.dev4/src/flet_map.egg-info → flet_map-0.85.2}/PKG-INFO +2 -2
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/pyproject.toml +2 -2
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/simple_attribution.py +7 -2
- {flet_map-0.85.0.dev4 → flet_map-0.85.2/src/flet_map.egg-info}/PKG-INFO +2 -2
- flet_map-0.85.2/src/flet_map.egg-info/requires.txt +1 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/simple_attribution.dart +9 -2
- flet_map-0.85.0.dev4/src/flet_map.egg-info/requires.txt +0 -1
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/LICENSE +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/README.md +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/setup.cfg +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/__init__.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/circle_layer.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/map.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/map_layer.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/marker_layer.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/overlay_image_layer.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/polygon_layer.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/polyline_layer.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/rich_attribution.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/source_attribution.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/tile_layer.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map/types.py +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map.egg-info/SOURCES.txt +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map.egg-info/dependency_links.txt +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flet_map.egg-info/top_level.txt +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/flet_map.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/circle_layer.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/extension.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/map.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/marker_layer.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/overlay_image_layer.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/polygon_layer.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/polyline_layer.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/rich_attribution.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/tile_layer.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/utils/attribution_alignment.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/utils/map.dart +0 -0
- {flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/pubspec.yaml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-map
|
|
3
|
-
Version: 0.85.
|
|
3
|
+
Version: 0.85.2
|
|
4
4
|
Summary: Interactive map controls for Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -11,7 +11,7 @@ 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==0.85.
|
|
14
|
+
Requires-Dist: flet==0.85.2
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flet-map"
|
|
3
|
-
version = "0.85.
|
|
3
|
+
version = "0.85.2"
|
|
4
4
|
description = "Interactive map controls for Flet apps."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
|
|
7
7
|
license = "Apache-2.0"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
dependencies = [
|
|
10
|
-
"flet==0.85.
|
|
10
|
+
"flet==0.85.2",
|
|
11
11
|
]
|
|
12
12
|
|
|
13
13
|
[project.urls]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from dataclasses import field
|
|
2
|
-
from typing import Optional
|
|
2
|
+
from typing import Optional
|
|
3
3
|
|
|
4
4
|
import flet as ft
|
|
5
5
|
from flet_map.map_layer import MapLayer
|
|
@@ -13,11 +13,16 @@ class SimpleAttribution(MapLayer):
|
|
|
13
13
|
A simple attribution layer displayed on the Map.
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
-
text:
|
|
16
|
+
text: str
|
|
17
17
|
"""
|
|
18
18
|
The attribution message to be displayed.
|
|
19
19
|
"""
|
|
20
20
|
|
|
21
|
+
text_style: Optional[ft.TextStyle] = None
|
|
22
|
+
"""
|
|
23
|
+
The style to use for :attr:`text`.
|
|
24
|
+
"""
|
|
25
|
+
|
|
21
26
|
alignment: ft.Alignment = field(default_factory=lambda: ft.Alignment.BOTTOM_RIGHT)
|
|
22
27
|
"""
|
|
23
28
|
The alignment of this attribution on the map.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-map
|
|
3
|
-
Version: 0.85.
|
|
3
|
+
Version: 0.85.2
|
|
4
4
|
Summary: Interactive map controls for Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -11,7 +11,7 @@ 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==0.85.
|
|
14
|
+
Requires-Dist: flet==0.85.2
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flet==0.85.2
|
{flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/simple_attribution.dart
RENAMED
|
@@ -10,12 +10,19 @@ class SimpleAttributionControl extends StatelessWidget {
|
|
|
10
10
|
@override
|
|
11
11
|
Widget build(BuildContext context) {
|
|
12
12
|
debugPrint("SimpleAttributionControl build: ${control.id}");
|
|
13
|
-
|
|
13
|
+
final text = control.getString("text");
|
|
14
|
+
|
|
15
|
+
if (text == null) {
|
|
16
|
+
return const ErrorControl("SimpleAttribution.text must be provided");
|
|
17
|
+
}
|
|
14
18
|
|
|
15
19
|
return BaseControl(
|
|
16
20
|
control: control,
|
|
17
21
|
child: SimpleAttributionWidget(
|
|
18
|
-
source:
|
|
22
|
+
source: Text(
|
|
23
|
+
text,
|
|
24
|
+
style: control.getTextStyle("text_style", Theme.of(context)),
|
|
25
|
+
),
|
|
19
26
|
onTap: () => control.triggerEvent("click"),
|
|
20
27
|
backgroundColor: control.getColor(
|
|
21
28
|
"bgcolor", context, Theme.of(context).colorScheme.surface)!,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
flet==0.85.0.dev4
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_map-0.85.0.dev4 → flet_map-0.85.2}/src/flutter/flet_map/lib/src/overlay_image_layer.dart
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|