|
@ -29,6 +29,57 @@ |
|
|
"{% if tags.leisure == 'pitch' and tags.sport %}", |
|
|
"{% if tags.leisure == 'pitch' and tags.sport %}", |
|
|
"- {{ tagTransList('sport', tags.sport) }}", |
|
|
"- {{ tagTransList('sport', tags.sport) }}", |
|
|
"{% endif %}" |
|
|
"{% endif %}" |
|
|
|
|
|
], |
|
|
|
|
|
"markerSign": [ |
|
|
|
|
|
"{% if const[tags.leisure] %}", |
|
|
|
|
|
"{{ const[tags.leisure].sign|raw }}", |
|
|
|
|
|
"{% endif %}" |
|
|
|
|
|
], |
|
|
|
|
|
"markerSymbol": [ |
|
|
|
|
|
"{% if const[tags.leisure] %}", |
|
|
|
|
|
"{{ markerPointer(const[tags.leisure].symbol)|raw }}", |
|
|
|
|
|
"{% else %}", |
|
|
|
|
|
"{{ markerPointer({})|raw }}", |
|
|
|
|
|
"{% endif %}" |
|
|
|
|
|
], |
|
|
|
|
|
"listMarkerSymbol": [ |
|
|
|
|
|
"{% if const[tags.leisure] %}", |
|
|
|
|
|
"{{ markerCircle(const[tags.leisure].symbol)|raw }}", |
|
|
|
|
|
"{% else %}", |
|
|
|
|
|
"{{ markerCircle({})|raw }}", |
|
|
|
|
|
"{% endif %}" |
|
|
] |
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
"info": [ |
|
|
|
|
|
"<table>", |
|
|
|
|
|
"{% for value, data in const %}", |
|
|
|
|
|
" <tr>", |
|
|
|
|
|
" <td>{{ markerCircle(data.symbol)|raw }}<div class='sign'>{{ data.sign|raw }}</div></td>", |
|
|
|
|
|
" <td>{{ tagTrans('leisure', value) }}</td>", |
|
|
|
|
|
" </tr>", |
|
|
|
|
|
"{% endfor %}", |
|
|
|
|
|
" <tr>", |
|
|
|
|
|
" <td>{{ markerCircle({})|raw }}</td>", |
|
|
|
|
|
" <td>{{ trans('other') }}</td>", |
|
|
|
|
|
" </tr>", |
|
|
|
|
|
"</table>" |
|
|
|
|
|
], |
|
|
|
|
|
"const": { |
|
|
|
|
|
"garden": { |
|
|
|
|
|
"symbol": { |
|
|
|
|
|
"fillColor": "#00cf00" |
|
|
|
|
|
}, |
|
|
|
|
|
"sign": "<img src='maki:garden'>" |
|
|
|
|
|
}, |
|
|
|
|
|
"park": { |
|
|
|
|
|
"symbol": { |
|
|
|
|
|
"fillColor": "#00cf00" |
|
|
|
|
|
}, |
|
|
|
|
|
"sign": "<img src='maki:park'>" |
|
|
|
|
|
}, |
|
|
|
|
|
"playground": { |
|
|
|
|
|
"symbol": {}, |
|
|
|
|
|
"sign": "<img src='maki:playground'>" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |