Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Add more SVG POI icons to the built-in styles #853

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 8 comments
Closed

Add more SVG POI icons to the built-in styles #853

openstreetmap-trac opened this issue Jul 23, 2021 · 8 comments

Comments

@openstreetmap-trac
Copy link

Reporter: stoecker
[Submitted to the original trac issue database at 4.50pm, Sunday, 20th April 2008]

Add SVG-Icon-Support using icons from

svn.openstreetmap.org/applications/share/map-icons/svg/

to extend the displayed Icons a lot.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 11.23am, Friday, 13th June 2008]

Was about to implement this but looks like it works.

Could you confirm?

@openstreetmap-trac
Copy link
Author

Author: stoecker
[Added to the original trac issue at 1.57pm, Wednesday, 18th June 2008]

Probably loading works. I did not mean implement loading SVG's only, but also to integrate the icons into the supplied display schemes to have a more complete display of POI's :-)

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 2.30pm, Wednesday, 18th June 2008]

Ah, ok. Not my part, reassigning to Collin.

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 9.13pm, Wednesday, 9th July 2008]

You might have seen this already, but there is a new style MapnikPlus where I'm added (and am still adding) new icons.

@openstreetmap-trac
Copy link
Author

Author: bart[at]vanhauwaert.org
[Added to the original trac issue at 3.51pm, Wednesday, 20th August 2008]

As far as I can tell, loading svg icons didn't work before. It should since r10027 though. In the style editor if you use a iconname ending in .svg it is interpreted as a SVG (obviously) and rendered as a 32x32 icon. Not sure if that is the appropriate size?

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 7.47pm, Wednesday, 20th August 2008]

Sorry, I was using PNG icons (not SVG) indeed. I think 16x16 would be a better default size. Ideally you could specify the size per icon though (think e.g. a tram stop icon which would be a dot of maybe 4 pixels).

@openstreetmap-trac
Copy link
Author

Author: bart[at]vanhauwaert.org
[Added to the original trac issue at 8.13pm, Wednesday, 20th August 2008]

Replying to [comment:6 ColinMarquardt]:

Sorry, I was using PNG icons (not SVG) indeed. I think 16x16 would be a better default size. Ideally you could specify the size per icon though (think e.g. a tram stop icon which would be a dot of maybe 4 pixels).

That sounds reasonable, I opened #1119 for that one.

Another problem it seems with some of the svg icons is that they are drawn with quite some whitespace around them. I guess the only solution is to fix the icon in that case.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 12.43pm, Thursday, 4th September 2008]

I guess we can close this one.
Re original request of "more icons", they will be added with time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant