We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8255462 commit 2c2065eCopy full SHA for 2c2065e
CHANGES
@@ -5,6 +5,7 @@ CHANGELOG
5
0.13.6 (unreleased)
6
-------------------
7
8
+* Setup Projection machinery in Leaflet forms if necessary
9
* Django Leaflet forms fiels without libgeos installed (thanks Florent Lebreton)
10
11
leaflet/__init__.py
@@ -118,6 +118,11 @@
118
_forms_js = ['leaflet/draw/leaflet.draw.js',
119
'leaflet/leaflet.extras.js',
120
'leaflet/leaflet.forms.js']
121
+if SRID:
122
+ _forms_js += ['leaflet/proj4js.js',
123
+ 'leaflet/proj4leaflet.js',
124
+ 'proj4j/%s.js' % SRID]
125
+
126
_forms_css = ['leaflet/draw/leaflet.draw.css']
127
_forms_plugins = PLUGINS.setdefault(PLUGIN_FORMS, {})
128
_forms_plugins['js'] = _forms_js + _forms_plugins.get('js', [])
0 commit comments