astursala / google-maps-icons

Automatically exported from code.google.com/p/google-maps-icons
0 stars 0 forks source link

Add filename to icon description pages #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm writing a program where users enter features, and I would like them to 
be able to select which icon they want to use for each feature. Normally, 
you would do this with a dropdown box, but the icon collection is now far 
too large for that, and many icons are probably only useful in some 
situations. So I'm thinking of having a dropdown for commonly used ones, but 
allow users to select any icon they like by browsing the wiki pages. At the 
moment, the description given by the icon is sometimes the same as the 
filename (Restaurant = restaurant) but sometimes isn't (cafe=coffee, 
pizzeria=pizza). So the only way to get the filename is to call up a context 
menu and examine the url. This seems to me too complicated, so I'm thinking 
it would be good if the filename could be given alongside each icon on the 
wiki pages. (And by filename, I mean 'restaurant', 'coffee' etc, not the 
complete url.) 

Original issue reported on code.google.com by Pw.Rob...@gmail.com on 8 Jan 2010 at 9:45

GoogleCodeExporter commented 8 years ago
Hello

I understand what you mean and how writing the filename alongside each icon 
would be
helpful.

But I don't know if we are ready to do this. For theses reasons :
1/ It's a lot of work (more than 400 icons, not counting numeric ones)
2/ It would overload the layout of wiki pages, that already have a good amount 
of
data : title, tags, icon
3/ I can't see this helpful for other people than your users. Our users simply 
right
click icons to get the url, and that's all they need.

Maybe Matthias can give his opinion on this feature.

Original comment by nico.mol...@gmail.com on 9 Jan 2010 at 9:02

GoogleCodeExporter commented 8 years ago
ok, well, another possibility is for me to use the download zip file, install 
the 
icons locally, and compile a list programmatically from that.

Is there a way to get a list of icon filenames from googlecode? I tried 
http://google-
maps-icons.googlecode.com/files/ hoping I would get a directory listing, but 
googlecode doesn't like that.

Original comment by Pw.Rob...@gmail.com on 9 Jan 2010 at 9:28

GoogleCodeExporter commented 8 years ago
and a problem with a directory listing is there's no categorisation, so how to 
get a 
list of icons per category?

Original comment by Pw.Rob...@gmail.com on 9 Jan 2010 at 9:35

GoogleCodeExporter commented 8 years ago
There is a possibility, not perfect, but here is how it goes :

You can get all the wiki pages with SVN :

svn checkout http://google-maps-icons.googlecode.com/svn/wiki

You will get various .wiki files (SportsIcons.wiki, RestaurantsIcons.wiki, ...)
Within each file, you can parse the wiki syntax to get each url that are 
written like :
[http://google-maps-icons.googlecode.com/files/coffee.png] 

Hope that can help you ?

Another option would be a csv export, but Google Code doesn't have any feature 
like this.

Original comment by nico.mol...@gmail.com on 9 Jan 2010 at 9:46

GoogleCodeExporter commented 8 years ago
There is nothing more to add, hope this answered your question?  I will close 
this
Issue now.  //Matthias

Original comment by myBCN...@gmail.com on 19 Jan 2010 at 2:29