School-Meal-Mapper / School-Meal-Mapper

A user-friendly map of school meal sites, with data stored on a Google sheet.
GNU General Public License v3.0
1 stars 0 forks source link

Logos Now Support SVG and PNG Format #207

Closed kekevi closed 3 years ago

kekevi commented 3 years ago
SVG Pros PNG Pros
clearer image quality the default format providers use
scalable to larger displays supports transparency (but annoying)
transparency built in doesn't require Canva processing - faster to make

As a result we have decided to support both SVGs and PNGs. The default format is "png" as decided by the districtData.js file around lines 9-30 (where all the variable declarations happen). To use an SVG, you must set the logoFormat variable to 'svg' in the district selector code block.