Opened 8 years ago

Last modified 8 years ago

#15169 closed defect

*.svg image not working in preset file — at Initial Version

Reported by: Allroads Owned by: team
Priority: normal Milestone:
Component: External preset Version: tested
Keywords: icon zip Cc:

Description

When I make a preset.xml file with a icon http://mijndev.openstreetmap.nl/~allroads/JOSM/Styles/images/bicycle-aqua.svg
http://mijndev.openstreetmap.nl/~allroads/JOSM/Styles/images/bicycle-aqua.svg

In the xml file are these two lines of code then the icon shows up in the menu.

<group name="Use sidepath"  icon="http://mijndev.openstreetmap.nl/~allroads/JOSM/Styles/images/bicycle-aqua.svg" >
<label icon="http://mijndev.openstreetmap.nl/~allroads/JOSM/Styles/images/bicycle-aqua.svg" icon_size="30" text="Set use_sidepath for bicycle." />

But when put the icon bicycle-aqua.svg in the same folder as the *.xml file and of this folder I make a zip file, then the icon is not visible in the menu.

<group name="Use sidepath"  icon="bicycle-aqua.svg" >
<label icon="bicycle-aqua.svg" icon_size="30" text="Set use_sidepath for bicycle." />

Is there a explanation?

Change History (0)

Note: See TracTickets for help on using tickets.