NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi

There are some attributes which some POIs not having them. I want to hide the popup's representation related to the attribute, if the attribute is missing.

What I want to do is something like below:

# {title}
{description}
{{{thumbnail}}}
[[{url}|Wikimedia]] | [[https://maps.google.co.jp/maps?ll={lat}.{lng}&q={lat},{lng}&hl=ja&t=m&z=17|Google Maps]] | {if monumento}[[{monumento}|Monumen.to]]{/endif}

Does uMap's template system have such kind of function?

Regards, Kohei

asked 02 Oct '16, 09:54

kochizufan's gravatar image

kochizufan
11112
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×314
×23

question asked: 02 Oct '16, 09:54

question was seen: 1,122 times

last updated: 02 Oct '16, 09:54

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum