I made a new module who let you add custom styles without the need to create a new module.

It's really made easy. You just have to drop the folder(s) containing your icons into the 'library' directory inside the module.
All your icons will be auto detected and you'll be able to use them. Pretty easy no ?

you can see a screenshot of the result it produces here: http://img713.imageshack.us/i/screenshot20110417at110.png/

My code is inspired by the mapbox module.

I still do not have a name for the module, for the moment it's googlemapsicons, maybe it will change.
I name it this name because I firstly wanted to make a module to use the Google Maps Icons available here: http://code.google.com/p/google-maps-icons/ then I extended the system to auto detect files, it's a more generic way.

For the moment it's hosted on GitHub, maybe that will change. The name of the module will probably change too to be more appropriate.

I hope you enjoy it, don't hesitate to drop me a comment if you have new ideas, I'll be glad to implement them if I have time.

Bye

Comments

zzolo’s picture

Hi @Pol. That looks really awesome! You should put this up on Drupal.org as well. I have added a link on our module page. I am gonna close issue, unless you want something else done here.

Pol’s picture

That's a very very good news :) Thanks @zzolo !

I'll try to improve it by tomorrow, I have new ideas ;)

zzolo’s picture

Status: Needs work » Closed (works as designed)