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

How to bind an icon with a map feature in potlatch 2

3

Is there any way by which I can use icons available in the SJJB SVG Map Icons library to bind them with Map features which don't have any icons and are represented by a green dot in potlatch2?

asked 27 Mar '13, 12:09

Ritwick's gravatar image

Ritwick
56224
accept rate: 0%

(27 Mar '13, 18:48) andy mackey

One Answer:

4

Yes!

However amending Potlatch2, will fix only Potlatch2 - it will have no effect on the maps rendered on http://openstreetmap.org/

To adjust just Potlatch2 you will have to run your own instance of Potlatch2, see:

https://wiki.openstreetmap.org/wiki/Potlatch_2/Developer_Documentation

You will need to make amendments to the file: resources/stylesheets/core_pois.css

Looking at the code history within git, you should be able to see the way to amend Potlatch2. Such as my commit SHA1: ab28e8c69ee6e3091a01d8ab9bf276df5f974e6d

Having said that - development focus especially for 'simple' editing has shifted to the pure javascript iD editor: http://ideditor.com/

Thus you many need to reconsider your goals of what adding an icon in Potlatch2 will actually achieve.

answered 28 Mar '13, 00:32

robbieonsea's gravatar image

robbieonsea
90411325
accept rate: 16%

edited 28 Mar '13, 00:34

Source code available on GitHub .