Adrià Mercader
5040caee85
Merge pull request #164 from torfsen/leaflet-0.7.7-leaflet.draw-0.3.2
...
Update Leaflet to 0.7.7 and Leaflet.Draw to 0.3.2
2016-10-17 11:34:38 +01:00
Florian Brucker
10878dc168
Update Leaflet.Draw to 0.3.2.
2016-10-12 10:27:02 +02:00
Florian Brucker
1221fe67eb
Update Leaflet to 0.7.7.
2016-10-11 15:54:17 +02:00
etj
3d73bc9642
[ #162 ] Allow use of WMS layer in extent map
2016-10-04 16:38:27 +02:00
etj
e15838d7f4
[ #162 ] Allow use of WMS layer in extent map
2016-10-04 13:14:39 +02:00
amercader
44f05e181c
[ #157 ] Replace MapQuest by Stamen as default tiles
2016-08-03 11:57:10 +01:00
Nicolas Brisebois-Tétreault
3543ebba87
Set tms option for custom layer
...
Set the L.TileLayer as a TMS. It's required if the base layer specified in custom.url is a TMS. The default value of tms is false in Leaflet.
To use the TMS option, ```ckanext.spatial.common_map.tms = true``` has to be set in the ckan .INI file.
Same as https://github.com/ckan/ckanext-geoview/pull/24
2015-11-06 10:40:34 -05:00
fxia
b0b71a5438
[ #112 ] bbox fix only kicks in with positive w-long and negative e-long
2015-07-24 11:41:11 -04:00
amercader
414255e34a
[ #102 ] MapBox tiles require access token
2015-05-07 17:59:21 +01:00
amercader
86c4fbdbf7
[ #101 ] Change Mapquest tiles base URL under https
2015-05-07 17:43:03 +01:00
amercader
0886e15ed5
[ #107 ] Remove geojson and wms views
...
The GeoJSON Leaflet plugin now lives on ckanext-geoview:
https://github.com/ckan/ckanext-geoview
The old WMS preview has been completely removed in favour of the
OpenLayers based geoview:
https://github.com/ckan/ckanext-geoview#openlayers-viewer
2015-05-07 13:43:52 +01:00
fxia
0380754619
bbox fix, more
2015-04-09 13:29:45 -04:00
fxia
dff5fbe0a4
bbox fix. make sure w long value is less than e long value
2015-04-09 13:29:21 -04:00
amercader
a96d134f1e
[ #95 ] Fix GeoJSON preview for features without properties
2015-04-08 10:01:55 +01:00
amercader
45ebb5a13e
[ #37 ] Update attributions
2013-10-10 17:56:23 +01:00
amercader
2f28c8c5c7
[ #37 ] Add support for MapBox tiles and others
...
The common map function has been extended to allow configuring different
options for the base layer. There are default presets for MapQuest and
MapBox, but any XYZ layer can be added configuration options. The
options are passed to the templates via a helper function and to the js
modules via data-module attributes. Full docs included.
2013-10-06 23:22:04 +01:00
amercader
028d26e6e0
[ #37 ] Common function for initializing maps
...
This avoids duplication, mkaes all map consistent and makes easier
future support for other base maps.
2013-08-30 17:10:11 +01:00
amercader
b371aee381
[ #36 ] Fix spatial query widget for CKAN 2.1
2013-08-30 16:26:02 +01:00
amercader
063a1b8530
[ #26 ] Fix broken markers on debug mode
2013-08-08 17:33:56 +01:00
amercader
e30b662a36
[ #21 ] Make popup table match the rest of CKAN tables
2013-06-14 17:53:38 +01:00
amercader
f8dd4c02bd
[ #21 ] Fix i18n calls
...
All the 'self' on the 'showError' function should be 'this', otherwise you
will refer to the window. Also 'this.i18n' assumes an 'i18n' key in the
module options. Looks like you are trying to pass some variables to the
string template, note the sprintf-like syntax.
2013-06-14 17:39:58 +01:00
Dominik Moritz
fe8c469c12
[ #21 ] show object in popup, fix layout
2013-06-14 13:23:06 +02:00
Dominik Moritz
6eb180c02a
[ #21 ] Add properties information to popup, lighter style
2013-06-13 23:24:01 +02:00
Dominik Moritz
64d1846e90
[ #21 ] Add basic GeoJSON preview and fix set up of wms preview
2013-06-13 22:51:01 +02:00
amercader
6f3c699311
[ #7 ] Remove old genshi spatial query widget
2013-05-13 17:13:19 +01:00
amercader
7e10eb9c16
[ #7 ] Allow to customize the default extent for the spatial query widget
2013-05-13 16:59:49 +01:00
amercader
af253d0f89
[ #7 ] Spatial search widget for 2.0
...
Adds a new map widget to the 2.0 search templates. It is shown initially
in the sidebar but it is expanded when the user needs to draw an area.
It uses Leaflet and Leaflet.draw.
2013-05-13 16:14:48 +01:00
amercader
4638b3899f
Revert "[ #8 ] Don't use object id so messages can be grouped"
...
This reverts commit 032cc4d961
.
2013-03-14 12:36:39 +00:00
amercader
032cc4d961
[ #8 ] Don't use object id so messages can be grouped
2013-03-14 12:34:20 +00:00
amercader
fd1071959e
[ #6 ] Move to Leaflet for dataset map widget
...
For this particular use case Leaflet offered the best option. Also
solves the issue when showing extent covering the whole world.
2013-01-18 15:12:09 +00:00
amercader
70f7f6144b
Factor out DGU code from the dataset map
...
It now lives in the DGU extension:
https://github.com/datagovuk/ckanext-dgu/blob/master/ckanext/dgu/theme/public/scripts/dgu-dataset-map.js
2013-01-18 13:32:30 +00:00
amercader
3da5807eb4
[ #6 ] Update dataset map to be a pure snippet
...
No need to load an extension.
2013-01-18 13:07:26 +00:00
amercader
21a85a6b3f
[ #4 ] Register resources only once for all plugins
...
spatial_metadata will load the resources (public, templates and
resources) for all plugins to use, as it needs to be loaded anyway.
2013-01-15 20:00:46 +00:00
amercader
711391e971
[ #4 ] Rewrtie WMS preview plugin for ResourcePreview interface
...
Much simplified plugin for previewing WMS. It requires the
resource_proxy plugin to work.
Also clean up public and template dir to mimic core layout.
2013-01-14 13:59:15 +00:00