goodmap 0.3.1__tar.gz → 0.4.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: goodmap
3
- Version: 0.3.1
3
+ Version: 0.4.0
4
4
  Summary: Map engine to serve all the people :)
5
5
  Author: Krzysztof Kolodzinski
6
6
  Author-email: krzysztof.kolodzinski@problematy.pl
@@ -9,6 +9,7 @@ Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3.10
10
10
  Classifier: Programming Language :: Python :: 3.11
11
11
  Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
12
13
  Requires-Dist: Babel (>=2.10.3,<3.0.0)
13
14
  Requires-Dist: Flask (==3.0.3)
14
15
  Requires-Dist: Flask-Babel (>=4.0.0,<5.0.0)
@@ -18,8 +18,10 @@ def prepare_pin(place, visible_fields, meta_data):
18
18
  "metadata": {
19
19
  gettext(field): safe_gettext(place[field]) for field in meta_data if field in place
20
20
  },
21
- "data": {
22
- gettext(field): safe_gettext(place[field]) for field in visible_fields if field in place
23
- },
21
+ "data": [
22
+ [gettext(field), safe_gettext(place[field])]
23
+ for field in visible_fields
24
+ if field in place
25
+ ],
24
26
  }
25
27
  return pin_data
@@ -1,5 +1,16 @@
1
1
  {% extends "base.html" %}
2
2
 
3
+ {% block head_meta %}
4
+
5
+ <link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
6
+ integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
7
+ crossorigin=""/>
8
+ <link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.css" />
9
+ <link rel="stylesheet" href="https://unpkg.com/leaflet.markercluster@1.5.3/dist/MarkerCluster.Default.css" />
10
+
11
+ {% endblock %}
12
+
13
+
3
14
  {% block left_panel %}
4
15
  <div id="filter-form"></div>
5
16
  {% endblock %}
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "goodmap"
3
- version = "0.3.1"
3
+ version = "0.4.0"
4
4
  description = "Map engine to serve all the people :)"
5
5
  authors = ["Krzysztof Kolodzinski <krzysztof.kolodzinski@problematy.pl>"]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes