Closed smbantjes closed 7 years ago
yes it is possible. in the ghini.desktop database the species
table contains a habit
field. not always filled in, but it is there and could be exported into the ghini.web database.
it's not too difficult to add a custom icon to the standard list. technically, you either follow the directions for custom icons, or you add them to the file glyphicons-halflings.png
and refer them from bootstrap.css
.
already did it once, for icon-faucet
.
@smbantjes , do you want to look for possible glyphs? they should fit in 24×24 and actually the limit is tighter. have a look at the glyphicons-halflings file. the leaf is sixth row, third column.
more recent versions of bootstrap include a couple more icons for plants. I am going to move to that. we will loose 'icon-faucet' for the time being, and if we need it (to indicate water points), we can still revive it.
there is a nice collection of icons in the GPL software for Telegram. they are coloured, not black and white. we could use them... (resized to 20×20, they are now 24×24)
but to use them as they are, I think we need change the marker background, I think we should prepare some white space in a coloured marker frame. something like ...
some possible resulting icons, based on the blue background: grass: banana: generic tree: cactus: conifer: palm:
this works, it's not based on the habit, it's based on the Ordo
to which the species belongs. we should import the ordo-familia-tribus-genus database, but that's a different issue.
Is it possible to have different icons for different types of vegetation like trees, palms, bushes, herbs, grasses, orchids.....