From 1e6e41c6b89a6560a01f0bf31b7a641550d0781b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <plepe@noreply.openstreetbrowser.org> Date: Wed, 7 Mar 2018 07:02:41 +0100 Subject: [PATCH] Historic: map key, translate 'other' --- historic.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/historic.json b/historic.json index 4f0541f..50172e7 100644 --- a/historic.json +++ b/historic.json @@ -47,6 +47,12 @@ " </tr>", "{% endif %}", "{% endfor %}", + "{% if 14 <= map.zoom %}", + " <tr>", + " <td>{{ markerCircle({})|raw }}<div class='sign'></div></td>", + " <td>{{ trans('other') }}</td>", + " </tr>", + "{% endif %}", "</table>" ], "const": { @@ -73,10 +79,6 @@ "monument": { "sign": "<img src='maki:monument?size=15'>", "zoom": 11 - }, - "other": { - "sign": "", - "zoom": 14 } } -} +} \ No newline at end of file