scottdejonge / map-icons

An icon font for use with Google Maps API and Google Places API using SVG markers and icon labels
http://map-icons.com/
MIT License
1.05k stars 198 forks source link

Add a JSON file with information about every icon #67

Open viktorstrate opened 6 years ago

viktorstrate commented 6 years ago

It would be nice to have a JSON file, that describes every icon. Somthing like the following

[
  {
    "name": "{NAME}",
    "category": "{CATEGORY}"
  }, {
    "name": "{NAME}",
    "category": "{CATEGORY}"
  }, {
    "name": "{NAME}",
    "category": "{CATEGORY}"
  }
]

Where {NAME} is the name of that icon, fx. "Campground" and {CATEGORY} is the name of the category, as shown on the website fx. "General", "Toilets" etc..

It could be used to dynamically load icons. Among other things, like a search feature.

When a new icon is added to this pack, it should be added to the JSON file too.

I will happily send a pull request, if you think this is a great idea :grinning: