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

When I embed a map the location arrow disappears. How can I get it to stay when I embed a map?

asked 29 Jun '11, 07:31

cosmicfantasia's gravatar image

cosmicfantasia
16222
accept rate: 0%

edited 29 Jun '11, 07:40

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273


The iframe embedding (that you can generate from the Export tab) does not support arrows as markers. However you can use the "add marker" link before you copy the embedding URL to add a marker at a chosen position. This also answers your other question about moving the marker position.

If you really need an arrow then you will have to set up your own OpenLayers page that loads OSM tiles and places a marker.

permanent link

answered 29 Jun '11, 07:38

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Frederik is correct, but for other solutions I think the answers to this earlier question may help.

permanent link

answered 29 Jun '11, 10:20

EdLoach's gravatar image

EdLoach ♦
19.5k16156280
accept rate: 22%

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:

×33
×9

question asked: 29 Jun '11, 07:31

question was seen: 5,405 times

last updated: 29 Jun '11, 10:20

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