Why not ask your question on the new OpenStreetMap Community Forum?


Morning people

I had some good advice on creating personal maps an am using Umaps, so thanks for that.

I can view other users maps which appear to have disabled the pencil icon

On his map the Edit button has been disabled because I assume he's managed to disable it form the public view, similar for all of the others.

For the life of me I can't see how to disable the 'pencil' icon. Any help would be appreciate.

Supplementary: This is the map iframe on a test site: http://submarine.gg/map/ Note when you 'see full screen' the pencil appears. Ideally I'd like to just hide that pencil as the functions are disabled.

Thanks in advance

asked 05 Nov '13, 09:27

Submarine's gravatar image

accept rate: 0%

edited 05 Nov '13, 09:34

perhaps, you, as the owner of the map, will always see the edit mode ?

(05 Nov '13, 18:15) escada

I have the same problem. Maybe someone can help me please? How can i disable the edit pen in the public version?

With the iframe this is possible, but everyone can change the parameter.

(16 Jun '14, 23:16) lust-auf-dra...

All hope this is useful. I've mailed the owner and he's come back with the following. Append "?allowEdit=0" to the shared map - this gets rid of the 'pencil' icon.

permanent link

answered 06 Nov '13, 10:28

Submarine's gravatar image

accept rate: 0%

On the website of uMap there is a button called "Feedback" which contains an email address of the author ... maybe you can ask him direktly?

or see the OSM wiki about UMap

permanent link

answered 05 Nov '13, 17:12

stephan75's gravatar image

accept rate: 6%

edited 05 Nov '13, 17:16

SomeoneElse's gravatar image

SomeoneElse ♦

On the right hand side of your map:

Click pencil Click key icon Set Edit Status to 'only owner can edit'

permanent link

answered 17 Jun '14, 09:18

Submarine's gravatar image

accept rate: 0%

Thanks Submarine! I've tried. But it doesn't work. The icon is still there, only changes could not be saved.

Yesterday i've opened your map ( http://umap.openstreetmap.fr/en/map/visitguernsey_2486 ) and there was no pencil icon. Today there is also one. I don't understand.

(17 Jun '14, 09:32) lust-auf-dra...

To hide the pencil when embedding the map as an iframe, I added “allowEdit=0&editInOSMControl=0” to the query string. Basically everything after the “?” sets a property on the embedded map.

(17 Jun '14, 10:30) Submarine

Yes, that's right. But everyone can change the URL parameter. So everyone can clone/copy each map.

(17 Jun '14, 10:36) lust-auf-dra...

Ok, I've closed a map for you to try. http://u.osmfr.org/m/10864/ Try and edit it it. Set to only me can edit. Relatively sure you can't save your changes

(17 Jun '14, 10:46) Submarine
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



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:


question asked: 05 Nov '13, 09:27

question was seen: 5,695 times

last updated: 17 Jun '14, 16:53

powered by OSQA