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

Anyone know the syntax to create hypertext link in one of the fields of the table view for popup text in umap?

Based on searching here, I thought it would be [[http://example.com]] or [[{ }]] but neither of those seem to work.

Any suggestions?

umap screenshot showing a popup with a table

umap screenshot showing a popup with a table link working

umap screenshot showing a popup with a table link not working

asked 05 Oct '15, 23:25

BlakeGirardot's gravatar image

BlakeGirardot
51228
accept rate: 0%

edited 06 Oct '15, 11:47


Values starting with "http" should be automatically clickable.

permanent link

answered 06 Oct '15, 07:04

ybon's gravatar image

ybon
626713
accept rate: 42%

Hi ybon, thank you for the reply. So just to be clear: if the value for the field starts with http it will be a clickable link, but if the value for the field starts with something else besides http, then any http link elsewhere in the field will not be a clickable link and there is no way to make it a clickable link? That seems to be the behavior I am seeing. I edited my original question to add a few more screenshots of that.

(06 Oct '15, 11:45) BlakeGirardot
1

Yes, the link is created only when the value starts with "http".

(06 Oct '15, 12:15) ybon

You seem to display OSM tags in a table. Please do not add any third-party syntax into the OSM database.

The link syntax (at least) works for normal markers with text. You can see a description of the syntax there:

screenshot with highlight of the button

permanent link

answered 06 Oct '15, 08:03

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

edited 06 Oct '15, 08:16

Hi, thank you for the reply. Don't worry no one is introducing other syntax the OSM DB.

(06 Oct '15, 11:53) BlakeGirardot

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
×26
×23
×12

question asked: 05 Oct '15, 23:25

question was seen: 4,603 times

last updated: 06 Oct '15, 12:15

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