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

alt textI wanted to know if it is possible to insert an image in a pop-up. When I make a mark about a location, I can add some information in the pop-up, and when i click on the mark, the pop-up is displayed. I want to add an image there, im not sure if i can do it.

I am adding an example of what i want to do. I want to add to every drop a description + links + image of the place. I know how to add the description + link, but I haven't found the way to add an image, I am not sure if that is possible.

Note: That is a random image inserted in a random place just to make the example of what i want to do.

asked 04 Dec '14, 04:09

perla-rt's gravatar image

perla-rt
1216711
accept rate: 0%

edited 05 Dec '14, 20:19

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

3

Is your question about Leaflet or OpenLayers or some other framework?

(04 Dec '14, 10:03) scai ♦
1

Or is it about adding a note to openstreetmap.org

(04 Dec '14, 13:24) nevw
1

No (following editing by the original editor) it's about uMap.

(05 Dec '14, 20:18) SomeoneElse ♦

I have to add this code depends on what I want:

permanent link

answered 21 Dec '14, 19:03

perla-rt's gravatar image

perla-rt
1216711
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
×60
×2

question asked: 04 Dec '14, 04:09

question was seen: 12,834 times

last updated: 21 Dec '14, 19:03

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