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

When attempting to include the marker in the URL when sharing a place, the marker is not part of the URL - toggling the feature does not change the URL.

Example: I want to share this place and have the marker included, but it wil not show up: https://www.openstreetmap.org/?mlat=51.02752&mlon=3.70422#map=18/51.02752/3.70422

asked 20 Aug '20, 08:16

alexander%20duytschaever's gravatar image

alexander du...
20335
accept rate: 0%

I am not sure I understand the problem. When I click on your link, I get a map with a blue marker in the centre.

(20 Aug '20, 10:26) alan_gr

Ah indeed...

There is something strange happening: I bookmarked such a link and when opening the bookmark the marker does not appear, that's what makes me wonder whether someone else would see the marker - when you look at the URL there is no information of a possible marker, only a lat/long.

Also, when opening the Share panel, the marker can be shown/hidden just by (un)checking "Include marker", which makes me suspect that users with an OSM account could see a different behaviour from users without an account (and just receive the URL).

Here is another example: https://www.openstreetmap.org/#map=19/51.02877/3.71016&layers=C - this is the URL in a bookmark; the marker does not show up. When I enable the "Include marker" checkbox, all these bookmarks now show the marker. As far as I know, that checkbox is not set by default, so I wonder if a user without an OSM account will see the marker (even if that's the purpose of the checkbox).

Here is another example: in this URL I did not activate the marker option: https://www.openstreetmap.org/#map=19/51.02899/3.71075&layers=C as far as I can see , there is NO difference in the URL and I bet you will see the bookmark although I did not enable it.

(20 Aug '20, 10:56) alexander du...
1

I was about to say that, your last two examples do not show any marker for me as they do not include mlat and mlon, unlike the first one you posted. As far as I know it does not matter if you have an OSM account or are logged in.

(20 Aug '20, 11:11) alan_gr

Update: I see the difference - mlat/mlon has been added.

permanent link

answered 20 Aug '20, 11:02

alexander%20duytschaever's gravatar image

alexander du...
20335
accept rate: 0%

edited 20 Aug '20, 11:03

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:

×84

question asked: 20 Aug '20, 08:16

question was seen: 1,032 times

last updated: 20 Aug '20, 12:38

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