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

Changing All Markers’ colors at once

0

I have put pins down on many locations and I decided to change their color and it's very hard to do it one by one. Is there an easy to way to do it?

asked 29 May '22, 19:38

emrekaragoz's gravatar image

emrekaragoz
11112
accept rate: 0%

edited 29 May '22, 20:50

TZorn's gravatar image

TZorn
12.3k764225

What app or app are you using?

(29 May '22, 19:56) SomeoneElse ♦
1

I'm using Umap.openstreetmap on windows on chrome browser.

(29 May '22, 20:05) emrekaragoz
(29 May '22, 23:04) SomeoneElse ♦

One Answer:

1

Not a direct answer to your question but what to look out for for the future: You should group objects which are to be displayed the same into separate layers. Then don't set colors and forms for each individual object but for the layer.

So when you now have to go through all your objects rather than changing the color reset it to undefined and set the new color on the layer.

answered 29 May '22, 21:10

TZorn's gravatar image

TZorn
12.3k764225
accept rate: 15%

yes, not direct but a good idea for me use next time. thanks

(29 May '22, 22:00) emrekaragoz

Source code available on GitHub .