amercader
d70fb9df71
[ #37 ] Update attributions
2013-10-10 17:56:34 +01:00
amercader
e6145f5b6a
[ #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:18:59 +01:00
amercader
a22d0c833f
[ #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:11:24 +01:00
amercader
d1bed67c36
[ #36 ] Fix spatial query widget for CKAN 2.1
2013-08-30 16:26:27 +01:00
amercader
3f1acee4bd
[ #26 ] Fix broken markers on debug mode
2013-08-08 17:34:29 +01:00
amercader
4391af0f05
[ #32 ] Do not set height to avoid scrollbars if container is less than 600px
2013-08-08 17:31:38 +01:00
amercader
bf9d551462
[ #21 ] Make popup table match the rest of CKAN tables
2013-06-14 18:12:36 +01:00
amercader
e4774e62a5
[ #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 18:12:36 +01:00
Dominik Moritz
7bf2c609e6
[ #21 ] show object in popup, fix layout
2013-06-14 18:12:36 +01:00
Dominik Moritz
092e355ffb
[ #21 ] Add properties information to popup, lighter style
2013-06-14 18:12:35 +01:00
Dominik Moritz
a9883821c3
[ #21 ] Add basic GeoJSON preview and fix set up of wms preview
2013-06-14 18:12:35 +01: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
amercader
3bb174d56d
Update WMS viewer prototype to work with the new iframe on resource read page
2012-10-17 13:02:57 +01:00
amercader
efa2307ee5
[wms] Fix small bug
2012-08-14 12:48:39 +01:00
amercader
d841bb2c17
[wms] Fix typo
2012-08-13 18:52:30 +01:00
amercader
231f5806e9
[wms] Support for map param
2012-08-13 17:50:33 +01:00
amercader
4ca61fd48b
[wms] First go at adapting the WMS previewer to the new theme
2012-08-13 17:09:08 +01:00
amercader
87de1280f2
[ #2641 ] Adapt dataset map to new theme
...
The new theme is based on Jinja2 templates. Extensions can define their
own snippets, which can used when creating custom themes. In this case
two snippets have been created, one showing the map on the primary area
and the other on the sidebar.
2012-07-11 18:24:49 +01:00
amercader
493589aaf1
[ #2399 ] Fixes for CKAN 1.8
...
* Fix broken imports in model after cleanup
* Minor CSS glitch on the spatial filter widget
2012-06-25 19:27:18 +01:00
David Read
745bed4e77
Customising extent map for dgu.
2012-05-22 10:51:44 +01:00
amercader
1ffe6f42d1
[ui] Fix alignment and button classes (update to latest bootstrap)
2012-05-08 14:19:28 +01:00
David Read
8010c1e16b
Stray comma caused IE7 to barf.
2012-04-27 15:04:22 +01:00
David Read
e19227fe61
Added option for OS tiles (subject to licence).
2012-04-27 13:06:20 +01:00
amercader
0c6d0f7e48
[search] Maintain previous extent when filtering by area
2012-02-22 17:25:06 +00:00
amercader
1f829b3031
[search] Add option to define a default extent
2012-02-21 11:05:13 +00:00
amercader
1d1f88195f
Merge from master
2012-02-20 18:13:33 +00:00
amercader
51a8dfa857
[dataset_map] Use MapQuest tiles instead of OSM ones
...
Because of http://wiki.openstreetmap.org/wiki/Tile_usage_policy
2012-01-20 16:19:08 +00:00
amercader
a20688a453
[search][ #1469 ] Map widget for the spatial search UI
...
TODO: integrate better with the general look and feel.
2012-01-18 11:03:21 +00:00
Adrià Mercader
9b0d00786a
Update and cleanup for WMS previewer. It is still very unstable and should be
...
considered alpha stage.
2011-09-30 11:57:09 +01:00
Adrià Mercader
0ac18ba0a9
New Dataset Map Widget plugin.
...
When enabled, if the dataset has an 'spatial' extra, it shows a map on the
details page. It uses OpenLayers and supports all types of geometries.
2011-09-30 11:33:36 +01:00
james gardner
6b5d260b0a
[packaging] Moving the resources into the module, no resources need when deployed should ever be outside
2011-04-20 11:44:55 +01:00