This object is in archive! 

Own icon pack, icons divided into groups

Jelle Ruben shared this idea 9 years ago
Completed

In an other topic (http://help.locusmap.eu/topic/own-custom-icon) had I a question of it possible was to the icons divided into groups. Like the icon pack of Garmin.

Replies (13)

photo
1

I'll also repeat my comment that I support this, and would propose to simply interpret subdirectories in the ZIP as groups, using the directory name as group title. No frills ;)

photo
2

+1 (if it's "easy" to implement - otherwise it has no high priority for me)

photo
1

Push up, because we had that discussion here: http://forum.locusmap.eu/index.php?topic=5113.msg42996#msg42996

and here: http://forum.locusmap.eu/index.php?topic=5113.msg43035#msg43035

Please vote if you would like categories in icon selection;)

photo
1

To sum up what's in the forum:

Menion thinks it's definitely possible, prefarably with an XML approach (have an XML file in the icon ZIP that defines what icons belong to what categories).

As an addendum, it would be nice to be able to define an order of icons, too - right now, there's no order, i.e. the icons are displayed in the order they are packed into the ZIP. Which can be confusing...

And one more thing: Would be nice to see the icon name, somehow. At least on a Galaxy Note, that could be done on pen hover, but of course that's not usable elsewhere. Perhaps a checkbox to turn on/off the icon (file) name below the icon?

photo
1

Good day guys,

I was "forced" to improve little bit system of custom icons and Ingo remind me there this topic. And because I had "free evening" after release of new version ...


Directories are fine and simply, but not so flexible. Let's try it with XML approach.


If you are interested, please look on attached XML file. It define commonly used "info" that Locus use on many places for various files. Next to this main <item> tag with meta-information, I've added new container <content> that contains meta-information related to content of file itself. I've also added there few comments so it should be clear.


Important is tag <category> that define your "group" of items.


Let me know if this system is usable for you. It's now implemented and will works since next 3.24.1 version ( there will also fixed issue with inability to even choose custom icon ... sorry for this ).


And if this will work nice, I hope, as a reward for me, there will be some nice pack of icons prepared for other users ( in forum or we may add it directly into Store ) .. ;).

Files: info.xml
photo
1

I'm trying it out right now, looks great so far (see also http://help.locusmap.eu/topic/custom-icon-listing-order-in-icon-chooser).

One question: Does the "name" tag for single items have any use within Locus. It's not displayed right now - are you planning to do that or is it just for the Icon Pack creator? Because then the i18n of the name is of no real use.

Anyway, will certainly share my icon pack once it's done :)

photo
2

I plan to allow long click on icon to display small overview with name. Nothing extra useful, but nice to have I think. And here should be visible name as well. So it's planned ...

photo
1

Yeah, sounds like a good idea. Just my 2 cents: What about being able to switch to a list view, with the icon in the first column and the name in the second? Especially with the well known MapIcons from https://mapicons.mapsmarker.com I often search for a specific icon, but am not sure about the intended meaning of some. But the long click-tooltip (or whatever) would do the trick, too.

photo
2

Oh, and a tiny bug report:

The "Various" section seems to be added even when it's empty

photo
1

For good measure: Here's my file with some company brands and public transportation services done for my travels. I hope there's no copyright problem here, but as regarding my work, I'm giving them to the public domain.

photo
2

For most users it is more simple to just pack icons into archive than to write complicated XML file (overkill). Maybe if archive is not containing info.xml file you will treat Folders inside it as Groups and FileNames as icon Names?

And will allow to specify in info.xml file inside folders like <item file="Google pins/1.png">. If file described in info.xml, the info about it will be used from that file, and if not described - than you may use info from folders structure/filename.

photo
2

Good day Alezy,

I believe that for most of users, most easy is to use some icons packs from Store. If still someone wants to play with this and create custom icon pack like Ingo, I believe current solution, even little bit more complicated, may offer a nice result with enough flexibility.


Others may simply use system that worked and still work for years ... pack them into zip and ... done.


I consider current solution, after some modifications I just made, as final. Thanks for idea and hope you find it useful.


746348cf0ac855ffc91997866afc7f7c

photo
2

Hi Menion,


Displaying folders in a .zip file as categories would be so much more convenient.


Flexibility is a nice thing, but as far as I could grasp, now I have to manually list the file name of every single icon under the category name in the info.xml. That is crazy. I have A LOT of them in a lot of folders in my pack.


Alezy's suggestion above seems convenient and logical.

photo
1

Hello,

unfortunately there are no plans to improve this system for now, thanks for understanding.

photo
1

Agree with Lux Calor

photo
1

Perfect, thanks a lot!

photo
1

I just tried the new ability to categorize icons and it works very well!

818b57b6d295cf4a9e1c0f502947f45c

However, I do not know if I can share what I have produced. These are Oruxmaps waypoint icons. I have the Oruxmaps app but could not find where its icons are stored on my phone so I downloaded them directly from the Oruxmap web-site using links like this:

http://www.oruxmaps.com/iconos/wpts_pin1.png

I manually categorized them using an info.xml file. I do not know if the licensing agreement for Oruxmaps permits me to share them here (even though they are downloadable from Oruxmaps).

Until someone can assure me I won't be violating a copyright, I will not post the icons here. However, I can share the info.xml file because I created it. Within the file, I entered "Jose Vázquez" as the "publisher" because he is the author of Oruxmaps and (I assume) the icons as well.

Files: info.xml
photo
1

Good evening Taras,

funny. I also think, that it is not too fair to share Orux-based icons for Locus Map app. At least not without permission from Jose.

Anyway nice there is usage and interest in this small feature :).

photo
2

Hello. I've released a small tool to create custom icon pack. If you are interested, check it at Locus forum.

http://forum.locusmap.eu/index.php?topic=5731.msg47923

photo
1

ta-ka, can you explain how does this work?

photo
1

Hello Lux, I'm not sure what should I explain... but..

The 'custom_icon_packer' is a script to generate 'info.xml' and pack it with your icons into a custom icons.zip. The packaging is performed based on a recipe file called 'info.dat'.

Can you tell me your question more specifically? I'll help you. (Please post your question in Custom Icon Packer thread in Locus Forum.)

Replies have been locked on this page!