Anton Khorev
b13ac4ec21
Add border/casing/line attribute support to svg map keys
2023-12-24 19:47:37 +03:00
Anton Khorev
07954549b9
Allow arrays of names in map key entries
2023-12-20 04:03:22 +03:00
Anton Khorev
f92183e520
Use inline svg for solid map key images
2023-12-19 17:00:24 +03:00
Anton Khorev
0c472ad198
Add solid svg image helper
2023-12-19 17:00:24 +03:00
Anton Khorev
dc622a32f3
Remove map key image custom css
2023-12-19 17:00:24 +03:00
Anton Khorev
9ac70151a8
Load map key data in controller
2023-12-08 12:55:18 +03:00
Anton Khorev
800106c72b
Allow to omit zoom levels for map key entries
2023-12-07 12:38:24 +03:00
Anton Khorev
6950f44a71
Update color of mapnik map key for lakes
2023-12-04 02:15:41 +03:00
Andy Allan
c162a9660e
Use standard padding size for map-ui sidebar
...
The previous padding didn't match the main sidebar, and also used
sass division as part of the calculation.
2023-09-06 18:10:02 +01:00
Tom Hughes
0e2a66e8de
Fix new rubocop warnings
2020-08-06 18:42:16 +01:00
Andy Allan
055a976051
Remove custom table styling
...
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Tom Hughes
fc8189685e
Fix erblint warnings
2019-12-04 19:58:21 +00:00
Andy Allan
6d0100b91d
erblint: prefer double quoted strings
2019-03-27 10:57:00 +01:00
Andy Allan
8d45f1a5cf
Use lazy lookups for site translations
2018-04-25 16:04:34 +08:00
Tom Hughes
c8671c137a
Update rubocop
2017-02-05 11:12:37 +00:00
Tom Hughes
815c98c977
Select which key entries to show on the client
...
Rather than requesting a new key every time the zoom or layer
changes, serve up all the entries initially with appropriate
annotations to allow the client to decide which ones to show.
2012-08-31 10:29:32 +01:00
Tom Hughes
51f5984c1c
Use CSS to centre the images in the key
2012-08-31 10:27:45 +01:00
Tom Hughes
e1213a4651
Use Rails.xxx instead of RAILS_XXX
2011-11-14 09:42:40 +00:00
Tom Hughes
86596c0d1f
Remove duplicate (and inconsistent) title from the map key
...
The map key had a heading in the title bar space and then another
inconsistent one inside the sidebar - the second one has been removed.
The tooltop for the map key link has also been improved.
2010-10-14 18:11:56 +01:00
Ævar Arnfjörð Bjarmason
af75542795
Call .to_sentence on site.key.table.entry. Translations are free to take advantage of this or ignore it completely
2009-06-26 18:23:06 +00:00
Tom Hughes
817434a2e6
Rework the translatable map key to be driven by a YAML file listing the
...
entries to show for each layer and zoom level.
2009-06-24 23:30:41 +00:00