cone.maps 0.1__tar.gz → 0.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.
Files changed (51) hide show
  1. cone_maps-0.2/CHANGES.rst +15 -0
  2. cone_maps-0.2/PKG-INFO +179 -0
  3. {cone.maps-0.1 → cone_maps-0.2}/README.rst +0 -1
  4. {cone.maps-0.1 → cone_maps-0.2}/setup.py +3 -3
  5. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/tests.py +9 -3
  6. cone_maps-0.2/src/cone.maps.egg-info/PKG-INFO +179 -0
  7. cone_maps-0.2/src/cone.maps.egg-info/requires.txt +6 -0
  8. cone.maps-0.1/CHANGES.rst +0 -8
  9. cone.maps-0.1/PKG-INFO +0 -157
  10. cone.maps-0.1/src/cone.maps.egg-info/PKG-INFO +0 -157
  11. cone.maps-0.1/src/cone.maps.egg-info/requires.txt +0 -6
  12. {cone.maps-0.1 → cone_maps-0.2}/LICENSE.rst +0 -0
  13. {cone.maps-0.1 → cone_maps-0.2}/LICENSE_LEAFLET.rst +0 -0
  14. {cone.maps-0.1 → cone_maps-0.2}/MANIFEST.in +0 -0
  15. {cone.maps-0.1 → cone_maps-0.2}/setup.cfg +0 -0
  16. {cone.maps-0.1 → cone_maps-0.2}/src/cone/__init__.py +0 -0
  17. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/__init__.py +0 -0
  18. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/__init__.py +0 -0
  19. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/map.py +0 -0
  20. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/cone.maps.js +0 -0
  21. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/cone.maps.min.js +0 -0
  22. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/images/layers-2x.png +0 -0
  23. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/images/layers.png +0 -0
  24. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/images/marker-icon-2x.png +0 -0
  25. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/images/marker-icon.png +0 -0
  26. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/images/marker-shadow.png +0 -0
  27. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/leaflet-src.js +0 -0
  28. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/leaflet-src.js.map +0 -0
  29. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/leaflet.css +0 -0
  30. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/leaflet.js +0 -0
  31. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet/leaflet.js.map +0 -0
  32. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-activearea/leaflet.activearea.js +0 -0
  33. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-geosearch/geosearch.css +0 -0
  34. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-geosearch/geosearch.umd.js +0 -0
  35. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-geosearch/geosearch.umd.js.map +0 -0
  36. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-markercluster/MarkerCluster.Default.css +0 -0
  37. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-markercluster/MarkerCluster.css +0 -0
  38. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-markercluster/leaflet.markercluster-src.js +0 -0
  39. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-markercluster/leaflet.markercluster-src.js.map +0 -0
  40. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-markercluster/leaflet.markercluster.js +0 -0
  41. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-markercluster/leaflet.markercluster.js.map +0 -0
  42. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-nogap/L.TileLayer.NoGap.js +0 -0
  43. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/leaflet-proj4/proj4leaflet.js +0 -0
  44. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/proj4js/proj4-src.js +0 -0
  45. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/browser/static/proj4js/proj4.js +0 -0
  46. {cone.maps-0.1 → cone_maps-0.2}/src/cone/maps/locale/cone.maps.pot +0 -0
  47. {cone.maps-0.1 → cone_maps-0.2}/src/cone.maps.egg-info/SOURCES.txt +0 -0
  48. {cone.maps-0.1 → cone_maps-0.2}/src/cone.maps.egg-info/dependency_links.txt +0 -0
  49. {cone.maps-0.1 → cone_maps-0.2}/src/cone.maps.egg-info/namespace_packages.txt +0 -0
  50. {cone.maps-0.1 → cone_maps-0.2}/src/cone.maps.egg-info/not-zip-safe +0 -0
  51. {cone.maps-0.1 → cone_maps-0.2}/src/cone.maps.egg-info/top_level.txt +0 -0
@@ -0,0 +1,15 @@
1
+ Changes
2
+ =======
3
+
4
+ 0.2 (2025-10-25)
5
+ ----------------
6
+
7
+ - Pin upper versions of dependencies.
8
+ [rnix]
9
+
10
+
11
+ 0.1 (2021-11-21)
12
+ ----------------
13
+
14
+ - Initial release.
15
+ [rnix]
cone_maps-0.2/PKG-INFO ADDED
@@ -0,0 +1,179 @@
1
+ Metadata-Version: 2.4
2
+ Name: cone.maps
3
+ Version: 0.2
4
+ Summary: Maps integration into cone using leaflet.js.
5
+ Home-page: http://github.com/conestack/cone.maps
6
+ Author: Cone Contributors
7
+ Author-email: dev@conestack.org
8
+ License: Simplified BSD
9
+ Keywords: node pyramid cone web
10
+ Classifier: Environment :: Web Environment
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
13
+ License-File: LICENSE.rst
14
+ License-File: LICENSE_LEAFLET.rst
15
+ Requires-Dist: setuptools
16
+ Requires-Dist: cone.app<1.1.0
17
+ Requires-Dist: yafowil.widget.location<2.0.0
18
+ Provides-Extra: test
19
+ Requires-Dist: zope.testrunner; extra == "test"
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: home-page
25
+ Dynamic: keywords
26
+ Dynamic: license
27
+ Dynamic: license-file
28
+ Dynamic: provides-extra
29
+ Dynamic: requires-dist
30
+ Dynamic: summary
31
+
32
+ .. image:: https://img.shields.io/pypi/v/cone.maps.svg
33
+ :target: https://pypi.python.org/pypi/cone.maps
34
+ :alt: Latest PyPI version
35
+
36
+ .. image:: https://img.shields.io/pypi/dm/cone.maps.svg
37
+ :target: https://pypi.python.org/pypi/cone.maps
38
+ :alt: Number of PyPI downloads
39
+
40
+ .. image:: https://github.com/conestack/cone.maps/actions/workflows/python-package.yml/badge.svg
41
+ :target: https://github.com/conestack/cone.maps/actions/workflows/python-package.yml
42
+ :alt: Package build
43
+
44
+ .. image:: https://coveralls.io/repos/github/bluedynamics/cone.maps/badge.svg?branch=master
45
+ :target: https://coveralls.io/github/bluedynamics/cone.maps?branch=master
46
+
47
+
48
+ This package provides maps integration in to cone.app.
49
+
50
+ * As maps library, `Leaflet JS <https://leafletjs.com/>`_ (v1.7.1) is included.
51
+
52
+ * For avoiding 1px gap between tiles,
53
+ `Leaflet.TileLayer.NoGap <https://github.com/Leaflet/Leaflet.TileLayer.NoGap>`_
54
+ `(ab4f107) <https://github.com/Leaflet/Leaflet.TileLayer.NoGap/commit/ab4f107fecb80e12ffbdc4ebbedf5f85b8da7173>`_ is included.
55
+
56
+ * For geocoding,
57
+ `leaflet-geosearch <https://smeijer.github.io/leaflet-geosearch>`_
58
+ (3.5.0) is included.
59
+
60
+ * For grouping of map markers,
61
+ `Leaflet.markercluster <https://github.com/Leaflet/Leaflet.markercluster>`_
62
+ (1.5.3) is included.
63
+
64
+ * For defining active map area, e.g. if parts of a map is used as background,
65
+ `Leaflet-active-area <https://github.com/Mappy/Leaflet-active-area>`_
66
+ (1.2.0) is included.
67
+
68
+ * For general CRS projection support,
69
+ `proj4js <https://github.com/proj4js/proj4js>`_ (2.7.5) and
70
+ `Proj4Leaflet <https://github.com/kartena/Proj4Leaflet>`_ (1.0.2)
71
+ are included
72
+
73
+
74
+ Map Widget
75
+ ----------
76
+
77
+ A map widget tile is included which provides OOTB default map behavior and
78
+ can be used as starting point for complex custom maps.
79
+
80
+ .. code-block:: python
81
+
82
+ from cone.maps.browser.map import MapTile
83
+ from cone.tile import tile
84
+ from myplugin import MyModel
85
+
86
+ @tile(name='map', interface=MyModel)
87
+ class MyMap(MapTile):
88
+ """See ``cone.maps.browser.map`` for available tile options.
89
+ """
90
+
91
+
92
+ Resources
93
+ ---------
94
+
95
+ The following ``cone.maps`` related application configuration options are
96
+ available :
97
+
98
+ - **cone.maps.public**: Flag whether browser resources are delivered for
99
+ unauthenticated users. Defaults to `false`.
100
+
101
+ - **cone.maps.nogap**: Flag whether to include ``Leaflet.TileLayer.NoGap``
102
+ plugin. Defaults to `false`.
103
+
104
+ - **cone.maps.geosearch**: Flag whether to include ``leaflet-geosearch``
105
+ plugin. Defaults to `false`.
106
+
107
+ - **cone.maps.markercluster**: Flag whether to include ``Leaflet.markercluster``
108
+ plugin. Defaults to `false`.
109
+
110
+ - **cone.maps.activearea**: Flag whether to include ``Leaflet-active-area``
111
+ plugin. Defaults to `false`.
112
+
113
+ - **cone.maps.proj4**: Flag whether to include ``proj4js`` and ``Proj4Leaflet``
114
+ plugins. Defaults to `false`.
115
+
116
+
117
+ Contributors
118
+ ============
119
+
120
+ - Robert Niederreiter
121
+
122
+
123
+ TODO
124
+ ====
125
+
126
+ - Default map marker rendering (from DOM elem data directly and from
127
+ JSON endpoint)
128
+
129
+ - Default map markercluster rendering (from DOM elem data directly and from
130
+ JSON endpoint)
131
+
132
+ - Geosearch on default map.
133
+
134
+ - Activearea config on default map.
135
+
136
+
137
+ Changes
138
+ =======
139
+
140
+ 0.2 (2025-10-25)
141
+ ----------------
142
+
143
+ - Pin upper versions of dependencies.
144
+ [rnix]
145
+
146
+
147
+ 0.1 (2021-11-21)
148
+ ----------------
149
+
150
+ - Initial release.
151
+ [rnix]
152
+
153
+
154
+ License
155
+ =======
156
+
157
+ Copyright (c) 2021, Cone Contributors
158
+ All rights reserved.
159
+
160
+ Redistribution and use in source and binary forms, with or without
161
+ modification, are permitted provided that the following conditions are met:
162
+
163
+ * Redistributions of source code must retain the above copyright notice, this
164
+ list of conditions and the following disclaimer.
165
+
166
+ * Redistributions in binary form must reproduce the above copyright notice, this
167
+ list of conditions and the following disclaimer in the documentation and/or
168
+ other materials provided with the distribution.
169
+
170
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
171
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
172
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
173
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
174
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
175
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
176
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
177
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
178
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
179
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -17,7 +17,6 @@
17
17
  This package provides maps integration in to cone.app.
18
18
 
19
19
  * As maps library, `Leaflet JS <https://leafletjs.com/>`_ (v1.7.1) is included.
20
- It utilizes `Leaflet JS <https://leafletjs.com/>`_.
21
20
 
22
21
  * For avoiding 1px gap between tiles,
23
22
  `Leaflet.TileLayer.NoGap <https://github.com/Leaflet/Leaflet.TileLayer.NoGap>`_
@@ -9,7 +9,7 @@ def read_file(name):
9
9
  return f.read()
10
10
 
11
11
 
12
- version = '0.1'
12
+ version = '0.2'
13
13
  shortdesc = 'Maps integration into cone using leaflet.js.'
14
14
  longdesc = '\n\n'.join([read_file(name) for name in [
15
15
  'README.rst',
@@ -47,8 +47,8 @@ setup(
47
47
  zip_safe=False,
48
48
  install_requires=[
49
49
  'setuptools',
50
- 'cone.app',
51
- 'yafowil.widget.location'
50
+ 'cone.app<1.1.0',
51
+ 'yafowil.widget.location<2.0.0'
52
52
  ],
53
53
  extras_require=dict(test=['zope.testrunner']),
54
54
  tests_require=['zope.testrunner'],
@@ -23,13 +23,19 @@ class TestMapsTile(TileTestCase):
23
23
 
24
24
  map_tile = MapTile()
25
25
  res = map_tile(model, request)
26
- self.assertTrue(res.find('class="cone_map"') > -1)
26
+
27
+ self.assertTrue(res.find('class="cone-map"') > -1)
27
28
  self.assertTrue(res.find('id="map"') > -1)
28
- self.assertTrue(res.find('data-map-factory="cone.maps.Map"') > -1)
29
+ self.assertTrue(res.find('data-map-factory="cone_maps.Map"') > -1)
30
+ self.assertTrue(res.find('data-map-options=') > -1)
31
+ self.assertTrue(res.find('data-map-control-options=') > -1)
29
32
  self.assertTrue(res.find('data-map-layers=') > -1)
30
33
  self.assertTrue(res.find('data-map-center=') > -1)
31
34
  self.assertTrue(res.find('data-map-zoom="8"') > -1)
32
- self.assertTrue(res.find('data-map-source="None"') > -1)
35
+ self.assertTrue(res.find('data-map-markers=') > -1)
36
+ self.assertTrue(res.find('data-map-markers-source=') > -1)
37
+ self.assertTrue(res.find('data-map-groups=') > -1)
38
+ self.assertTrue(res.find('data-map-groups-source=') > -1)
33
39
 
34
40
 
35
41
  def run_tests():
@@ -0,0 +1,179 @@
1
+ Metadata-Version: 2.4
2
+ Name: cone.maps
3
+ Version: 0.2
4
+ Summary: Maps integration into cone using leaflet.js.
5
+ Home-page: http://github.com/conestack/cone.maps
6
+ Author: Cone Contributors
7
+ Author-email: dev@conestack.org
8
+ License: Simplified BSD
9
+ Keywords: node pyramid cone web
10
+ Classifier: Environment :: Web Environment
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
13
+ License-File: LICENSE.rst
14
+ License-File: LICENSE_LEAFLET.rst
15
+ Requires-Dist: setuptools
16
+ Requires-Dist: cone.app<1.1.0
17
+ Requires-Dist: yafowil.widget.location<2.0.0
18
+ Provides-Extra: test
19
+ Requires-Dist: zope.testrunner; extra == "test"
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: home-page
25
+ Dynamic: keywords
26
+ Dynamic: license
27
+ Dynamic: license-file
28
+ Dynamic: provides-extra
29
+ Dynamic: requires-dist
30
+ Dynamic: summary
31
+
32
+ .. image:: https://img.shields.io/pypi/v/cone.maps.svg
33
+ :target: https://pypi.python.org/pypi/cone.maps
34
+ :alt: Latest PyPI version
35
+
36
+ .. image:: https://img.shields.io/pypi/dm/cone.maps.svg
37
+ :target: https://pypi.python.org/pypi/cone.maps
38
+ :alt: Number of PyPI downloads
39
+
40
+ .. image:: https://github.com/conestack/cone.maps/actions/workflows/python-package.yml/badge.svg
41
+ :target: https://github.com/conestack/cone.maps/actions/workflows/python-package.yml
42
+ :alt: Package build
43
+
44
+ .. image:: https://coveralls.io/repos/github/bluedynamics/cone.maps/badge.svg?branch=master
45
+ :target: https://coveralls.io/github/bluedynamics/cone.maps?branch=master
46
+
47
+
48
+ This package provides maps integration in to cone.app.
49
+
50
+ * As maps library, `Leaflet JS <https://leafletjs.com/>`_ (v1.7.1) is included.
51
+
52
+ * For avoiding 1px gap between tiles,
53
+ `Leaflet.TileLayer.NoGap <https://github.com/Leaflet/Leaflet.TileLayer.NoGap>`_
54
+ `(ab4f107) <https://github.com/Leaflet/Leaflet.TileLayer.NoGap/commit/ab4f107fecb80e12ffbdc4ebbedf5f85b8da7173>`_ is included.
55
+
56
+ * For geocoding,
57
+ `leaflet-geosearch <https://smeijer.github.io/leaflet-geosearch>`_
58
+ (3.5.0) is included.
59
+
60
+ * For grouping of map markers,
61
+ `Leaflet.markercluster <https://github.com/Leaflet/Leaflet.markercluster>`_
62
+ (1.5.3) is included.
63
+
64
+ * For defining active map area, e.g. if parts of a map is used as background,
65
+ `Leaflet-active-area <https://github.com/Mappy/Leaflet-active-area>`_
66
+ (1.2.0) is included.
67
+
68
+ * For general CRS projection support,
69
+ `proj4js <https://github.com/proj4js/proj4js>`_ (2.7.5) and
70
+ `Proj4Leaflet <https://github.com/kartena/Proj4Leaflet>`_ (1.0.2)
71
+ are included
72
+
73
+
74
+ Map Widget
75
+ ----------
76
+
77
+ A map widget tile is included which provides OOTB default map behavior and
78
+ can be used as starting point for complex custom maps.
79
+
80
+ .. code-block:: python
81
+
82
+ from cone.maps.browser.map import MapTile
83
+ from cone.tile import tile
84
+ from myplugin import MyModel
85
+
86
+ @tile(name='map', interface=MyModel)
87
+ class MyMap(MapTile):
88
+ """See ``cone.maps.browser.map`` for available tile options.
89
+ """
90
+
91
+
92
+ Resources
93
+ ---------
94
+
95
+ The following ``cone.maps`` related application configuration options are
96
+ available :
97
+
98
+ - **cone.maps.public**: Flag whether browser resources are delivered for
99
+ unauthenticated users. Defaults to `false`.
100
+
101
+ - **cone.maps.nogap**: Flag whether to include ``Leaflet.TileLayer.NoGap``
102
+ plugin. Defaults to `false`.
103
+
104
+ - **cone.maps.geosearch**: Flag whether to include ``leaflet-geosearch``
105
+ plugin. Defaults to `false`.
106
+
107
+ - **cone.maps.markercluster**: Flag whether to include ``Leaflet.markercluster``
108
+ plugin. Defaults to `false`.
109
+
110
+ - **cone.maps.activearea**: Flag whether to include ``Leaflet-active-area``
111
+ plugin. Defaults to `false`.
112
+
113
+ - **cone.maps.proj4**: Flag whether to include ``proj4js`` and ``Proj4Leaflet``
114
+ plugins. Defaults to `false`.
115
+
116
+
117
+ Contributors
118
+ ============
119
+
120
+ - Robert Niederreiter
121
+
122
+
123
+ TODO
124
+ ====
125
+
126
+ - Default map marker rendering (from DOM elem data directly and from
127
+ JSON endpoint)
128
+
129
+ - Default map markercluster rendering (from DOM elem data directly and from
130
+ JSON endpoint)
131
+
132
+ - Geosearch on default map.
133
+
134
+ - Activearea config on default map.
135
+
136
+
137
+ Changes
138
+ =======
139
+
140
+ 0.2 (2025-10-25)
141
+ ----------------
142
+
143
+ - Pin upper versions of dependencies.
144
+ [rnix]
145
+
146
+
147
+ 0.1 (2021-11-21)
148
+ ----------------
149
+
150
+ - Initial release.
151
+ [rnix]
152
+
153
+
154
+ License
155
+ =======
156
+
157
+ Copyright (c) 2021, Cone Contributors
158
+ All rights reserved.
159
+
160
+ Redistribution and use in source and binary forms, with or without
161
+ modification, are permitted provided that the following conditions are met:
162
+
163
+ * Redistributions of source code must retain the above copyright notice, this
164
+ list of conditions and the following disclaimer.
165
+
166
+ * Redistributions in binary form must reproduce the above copyright notice, this
167
+ list of conditions and the following disclaimer in the documentation and/or
168
+ other materials provided with the distribution.
169
+
170
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
171
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
172
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
173
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
174
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
175
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
176
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
177
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
178
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
179
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,6 @@
1
+ setuptools
2
+ cone.app<1.1.0
3
+ yafowil.widget.location<2.0.0
4
+
5
+ [test]
6
+ zope.testrunner
cone.maps-0.1/CHANGES.rst DELETED
@@ -1,8 +0,0 @@
1
- Changes
2
- =======
3
-
4
- 0.1 (2021-11-21)
5
- ----------------
6
-
7
- - Initial release.
8
- [rnix]
cone.maps-0.1/PKG-INFO DELETED
@@ -1,157 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: cone.maps
3
- Version: 0.1
4
- Summary: Maps integration into cone using leaflet.js.
5
- Home-page: http://github.com/conestack/cone.maps
6
- Author: Cone Contributors
7
- Author-email: dev@conestack.org
8
- License: Simplified BSD
9
- Description: .. image:: https://img.shields.io/pypi/v/cone.maps.svg
10
- :target: https://pypi.python.org/pypi/cone.maps
11
- :alt: Latest PyPI version
12
-
13
- .. image:: https://img.shields.io/pypi/dm/cone.maps.svg
14
- :target: https://pypi.python.org/pypi/cone.maps
15
- :alt: Number of PyPI downloads
16
-
17
- .. image:: https://github.com/conestack/cone.maps/actions/workflows/python-package.yml/badge.svg
18
- :target: https://github.com/conestack/cone.maps/actions/workflows/python-package.yml
19
- :alt: Package build
20
-
21
- .. image:: https://coveralls.io/repos/github/bluedynamics/cone.maps/badge.svg?branch=master
22
- :target: https://coveralls.io/github/bluedynamics/cone.maps?branch=master
23
-
24
-
25
- This package provides maps integration in to cone.app.
26
-
27
- * As maps library, `Leaflet JS <https://leafletjs.com/>`_ (v1.7.1) is included.
28
- It utilizes `Leaflet JS <https://leafletjs.com/>`_.
29
-
30
- * For avoiding 1px gap between tiles,
31
- `Leaflet.TileLayer.NoGap <https://github.com/Leaflet/Leaflet.TileLayer.NoGap>`_
32
- `(ab4f107) <https://github.com/Leaflet/Leaflet.TileLayer.NoGap/commit/ab4f107fecb80e12ffbdc4ebbedf5f85b8da7173>`_ is included.
33
-
34
- * For geocoding,
35
- `leaflet-geosearch <https://smeijer.github.io/leaflet-geosearch>`_
36
- (3.5.0) is included.
37
-
38
- * For grouping of map markers,
39
- `Leaflet.markercluster <https://github.com/Leaflet/Leaflet.markercluster>`_
40
- (1.5.3) is included.
41
-
42
- * For defining active map area, e.g. if parts of a map is used as background,
43
- `Leaflet-active-area <https://github.com/Mappy/Leaflet-active-area>`_
44
- (1.2.0) is included.
45
-
46
- * For general CRS projection support,
47
- `proj4js <https://github.com/proj4js/proj4js>`_ (2.7.5) and
48
- `Proj4Leaflet <https://github.com/kartena/Proj4Leaflet>`_ (1.0.2)
49
- are included
50
-
51
-
52
- Map Widget
53
- ----------
54
-
55
- A map widget tile is included which provides OOTB default map behavior and
56
- can be used as starting point for complex custom maps.
57
-
58
- .. code-block:: python
59
-
60
- from cone.maps.browser.map import MapTile
61
- from cone.tile import tile
62
- from myplugin import MyModel
63
-
64
- @tile(name='map', interface=MyModel)
65
- class MyMap(MapTile):
66
- """See ``cone.maps.browser.map`` for available tile options.
67
- """
68
-
69
-
70
- Resources
71
- ---------
72
-
73
- The following ``cone.maps`` related application configuration options are
74
- available :
75
-
76
- - **cone.maps.public**: Flag whether browser resources are delivered for
77
- unauthenticated users. Defaults to `false`.
78
-
79
- - **cone.maps.nogap**: Flag whether to include ``Leaflet.TileLayer.NoGap``
80
- plugin. Defaults to `false`.
81
-
82
- - **cone.maps.geosearch**: Flag whether to include ``leaflet-geosearch``
83
- plugin. Defaults to `false`.
84
-
85
- - **cone.maps.markercluster**: Flag whether to include ``Leaflet.markercluster``
86
- plugin. Defaults to `false`.
87
-
88
- - **cone.maps.activearea**: Flag whether to include ``Leaflet-active-area``
89
- plugin. Defaults to `false`.
90
-
91
- - **cone.maps.proj4**: Flag whether to include ``proj4js`` and ``Proj4Leaflet``
92
- plugins. Defaults to `false`.
93
-
94
-
95
- Contributors
96
- ============
97
-
98
- - Robert Niederreiter
99
-
100
-
101
- TODO
102
- ====
103
-
104
- - Default map marker rendering (from DOM elem data directly and from
105
- JSON endpoint)
106
-
107
- - Default map markercluster rendering (from DOM elem data directly and from
108
- JSON endpoint)
109
-
110
- - Geosearch on default map.
111
-
112
- - Activearea config on default map.
113
-
114
-
115
- Changes
116
- =======
117
-
118
- 0.1 (2021-11-21)
119
- ----------------
120
-
121
- - Initial release.
122
- [rnix]
123
-
124
-
125
- License
126
- =======
127
-
128
- Copyright (c) 2021, Cone Contributors
129
- All rights reserved.
130
-
131
- Redistribution and use in source and binary forms, with or without
132
- modification, are permitted provided that the following conditions are met:
133
-
134
- * Redistributions of source code must retain the above copyright notice, this
135
- list of conditions and the following disclaimer.
136
-
137
- * Redistributions in binary form must reproduce the above copyright notice, this
138
- list of conditions and the following disclaimer in the documentation and/or
139
- other materials provided with the distribution.
140
-
141
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
142
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
143
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
144
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
145
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
146
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
147
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
148
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
149
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
150
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
151
-
152
- Keywords: node pyramid cone web
153
- Platform: UNKNOWN
154
- Classifier: Environment :: Web Environment
155
- Classifier: Programming Language :: Python
156
- Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
157
- Provides-Extra: test
@@ -1,157 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: cone.maps
3
- Version: 0.1
4
- Summary: Maps integration into cone using leaflet.js.
5
- Home-page: http://github.com/conestack/cone.maps
6
- Author: Cone Contributors
7
- Author-email: dev@conestack.org
8
- License: Simplified BSD
9
- Description: .. image:: https://img.shields.io/pypi/v/cone.maps.svg
10
- :target: https://pypi.python.org/pypi/cone.maps
11
- :alt: Latest PyPI version
12
-
13
- .. image:: https://img.shields.io/pypi/dm/cone.maps.svg
14
- :target: https://pypi.python.org/pypi/cone.maps
15
- :alt: Number of PyPI downloads
16
-
17
- .. image:: https://github.com/conestack/cone.maps/actions/workflows/python-package.yml/badge.svg
18
- :target: https://github.com/conestack/cone.maps/actions/workflows/python-package.yml
19
- :alt: Package build
20
-
21
- .. image:: https://coveralls.io/repos/github/bluedynamics/cone.maps/badge.svg?branch=master
22
- :target: https://coveralls.io/github/bluedynamics/cone.maps?branch=master
23
-
24
-
25
- This package provides maps integration in to cone.app.
26
-
27
- * As maps library, `Leaflet JS <https://leafletjs.com/>`_ (v1.7.1) is included.
28
- It utilizes `Leaflet JS <https://leafletjs.com/>`_.
29
-
30
- * For avoiding 1px gap between tiles,
31
- `Leaflet.TileLayer.NoGap <https://github.com/Leaflet/Leaflet.TileLayer.NoGap>`_
32
- `(ab4f107) <https://github.com/Leaflet/Leaflet.TileLayer.NoGap/commit/ab4f107fecb80e12ffbdc4ebbedf5f85b8da7173>`_ is included.
33
-
34
- * For geocoding,
35
- `leaflet-geosearch <https://smeijer.github.io/leaflet-geosearch>`_
36
- (3.5.0) is included.
37
-
38
- * For grouping of map markers,
39
- `Leaflet.markercluster <https://github.com/Leaflet/Leaflet.markercluster>`_
40
- (1.5.3) is included.
41
-
42
- * For defining active map area, e.g. if parts of a map is used as background,
43
- `Leaflet-active-area <https://github.com/Mappy/Leaflet-active-area>`_
44
- (1.2.0) is included.
45
-
46
- * For general CRS projection support,
47
- `proj4js <https://github.com/proj4js/proj4js>`_ (2.7.5) and
48
- `Proj4Leaflet <https://github.com/kartena/Proj4Leaflet>`_ (1.0.2)
49
- are included
50
-
51
-
52
- Map Widget
53
- ----------
54
-
55
- A map widget tile is included which provides OOTB default map behavior and
56
- can be used as starting point for complex custom maps.
57
-
58
- .. code-block:: python
59
-
60
- from cone.maps.browser.map import MapTile
61
- from cone.tile import tile
62
- from myplugin import MyModel
63
-
64
- @tile(name='map', interface=MyModel)
65
- class MyMap(MapTile):
66
- """See ``cone.maps.browser.map`` for available tile options.
67
- """
68
-
69
-
70
- Resources
71
- ---------
72
-
73
- The following ``cone.maps`` related application configuration options are
74
- available :
75
-
76
- - **cone.maps.public**: Flag whether browser resources are delivered for
77
- unauthenticated users. Defaults to `false`.
78
-
79
- - **cone.maps.nogap**: Flag whether to include ``Leaflet.TileLayer.NoGap``
80
- plugin. Defaults to `false`.
81
-
82
- - **cone.maps.geosearch**: Flag whether to include ``leaflet-geosearch``
83
- plugin. Defaults to `false`.
84
-
85
- - **cone.maps.markercluster**: Flag whether to include ``Leaflet.markercluster``
86
- plugin. Defaults to `false`.
87
-
88
- - **cone.maps.activearea**: Flag whether to include ``Leaflet-active-area``
89
- plugin. Defaults to `false`.
90
-
91
- - **cone.maps.proj4**: Flag whether to include ``proj4js`` and ``Proj4Leaflet``
92
- plugins. Defaults to `false`.
93
-
94
-
95
- Contributors
96
- ============
97
-
98
- - Robert Niederreiter
99
-
100
-
101
- TODO
102
- ====
103
-
104
- - Default map marker rendering (from DOM elem data directly and from
105
- JSON endpoint)
106
-
107
- - Default map markercluster rendering (from DOM elem data directly and from
108
- JSON endpoint)
109
-
110
- - Geosearch on default map.
111
-
112
- - Activearea config on default map.
113
-
114
-
115
- Changes
116
- =======
117
-
118
- 0.1 (2021-11-21)
119
- ----------------
120
-
121
- - Initial release.
122
- [rnix]
123
-
124
-
125
- License
126
- =======
127
-
128
- Copyright (c) 2021, Cone Contributors
129
- All rights reserved.
130
-
131
- Redistribution and use in source and binary forms, with or without
132
- modification, are permitted provided that the following conditions are met:
133
-
134
- * Redistributions of source code must retain the above copyright notice, this
135
- list of conditions and the following disclaimer.
136
-
137
- * Redistributions in binary form must reproduce the above copyright notice, this
138
- list of conditions and the following disclaimer in the documentation and/or
139
- other materials provided with the distribution.
140
-
141
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
142
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
143
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
144
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
145
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
146
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
147
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
148
- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
149
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
150
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
151
-
152
- Keywords: node pyramid cone web
153
- Platform: UNKNOWN
154
- Classifier: Environment :: Web Environment
155
- Classifier: Programming Language :: Python
156
- Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
157
- Provides-Extra: test
@@ -1,6 +0,0 @@
1
- cone.app
2
- setuptools
3
- yafowil.widget.location
4
-
5
- [test]
6
- zope.testrunner
File without changes
File without changes
File without changes
File without changes
File without changes