This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

where to find a simple HTML map with a marker in the “Share” menu?

0

I'm sorry for such a dumb question, but I've spent an hour now trying to export a simple HTML map with a marker for a web page. According to the wiki, this function is in the "Share" menu, but I don't see it there anywhere. The only options I see under share are exporting static maps in graphic formats. Would somebody point me in the right direction?

asked 05 Dec '14, 02:17

bwv582's gravatar image

bwv582
31113
accept rate: 0%

edited 05 Dec '14, 02:32

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


2 Answers:

3

hmm, really not found? Share → incl. marker (position it) → HTML and copy the code. See the screenshot:

screenshot of www.openstreetmap.org showing the share menu with the HTML button selected

answered 05 Dec '14, 02:26

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554
accept rate: 18%

edited 05 Dec '14, 02:34

1

I think I may have solved it. I had Adblock Plus running and when I disabled it, the share menu suddenly showed more than just the "Image" section.

(05 Dec '14, 02:27) bwv582
1

Hmm, likely this is not Adblock's fault but the fault of a bad filter which you had active in Adblock.

(05 Dec '14, 02:32) aseerel4c26 ♦

2

The problem I had was somehow related to Adblock. With Adblock running in Firefox and the filters EasyList, EasyPrivacy, and Fanboy's Social Blocking active the "Link or HTML" section failed to display. All I was seeing was the "Image" section when I opened the share menu.

answered 05 Dec '14, 12:05

bwv582's gravatar image

bwv582
31113
accept rate: 0%

edited 05 Dec '14, 12:07

Source code available on GitHub .