Open bboyle opened 9 years ago
Custom icons code we'd need to refactor is around these spots:
Yes, we can patch this in OK. I'd like to make it more generic but it's tricky supporting the icons AND alt text in the CSV data. Unless you're happy to add both? A column that lists types and another that lists the corresponding icons?
Example:
Name | Category | Icon |
---|---|---|
foo | Rest area, Scenic stop | tree, camera |
would indicate that 'Rest area' uses 'tree' and 'Scenic stop' uses 'camera'. You would have to repeat these icons for every row of data though.
If we add it to the script (which we can), then changes will be locked to our release cycle. (You could submit the changes here though.)
From @scottssutton on October 21, 2014 6:28
Hi Ben, I'd be happy to do as much as possible on my end. I think at least in my case each entry would only have one icon type. Is something like this what you're referring to, or is there another reason for there being 2 sets of categories/icons in the cells?
Name | Category | Icon |
---|---|---|
Brisbane Driver reviver centre | Driver reviver | cupofcoffee |
Cairns heavy vehicle rest stop | Heavy vehicle rest stop | truck |
Supporting only a single icon would be quicker for the first enhancement
Thanks Ben, I'd only need a single icon per point so hopefully that would make it easier.
From @scottssutton on October 21, 2014 3:1
On the Science capability directory there are different icons used for different sectors. These icons are displayed on the map itself.
I'm in the process of putting together a MAM for roadside stops and if I were able to specify a FontAwesome icon for a particular type of centre (rest area, scenic stop, etc) it would make scanning the map easier and more visually appealing.
Copied from original issue: qld-gov-au/page-organisation-map#1