Releases: nudge4/map_resources
Releases · nudge4/map_resources
v0.12.0
v0.11.0
Updates
- Added text for "About this map" page
- Added subheader for "about this map" page
- Modified footer to use text rather than icons
- "Data" link now downloads data directly, rather show CSV as text on webpage
- HS data now only includes "1-Regular" schools
- Popups for HS now tell whether school is a magnet or charter school
- Added legend for icons
- Modified "Instructions" to say "How to use this map"
v0.10.0
v0.9.0
Update
Improvements
Now changing opacity of colleges when toggling off rather than switching icon to a transparent icon. According to style specification for layer, changing Paint property (opacity) is cheaper than Layout property (new icon or visibility).
Because you can only change opacity for entire layer, colleges are now in separate layer and using separate geojson file.
Changes
- B/c separate geojson files have common
$id
now, changed code fromfeatures.id
tofeatures.properties[_id]
throughout._id == z
, which is unique ID across data, and allows for continued use of single data array,s
, so popups should be correct. - Compressed
college.geojson
andicon.geojson
to remove whitespace usingcat college.geojson | tr -d " \t\n\r" > college_comp.geojson
cat icon.geojson | tr -d " \t\n\r" > icon_comp.geojson
- General changes to accommodate new code structure
v0.8.0
v0.7.2
v0.7.1
v0.7.0
Updates
Changes
- now using scss to generate css
- more mobile-device friendly
- fixed icons so they align better with pixels and (hopefully) don't blur as much on lower-res screens
Bug fixes
- fixed bug that broke text input
To Do
- add Google Forms and About pages
- add new data once ready
v0.6.0
Updates
Map
- Now includes community (zip) data and icons
- Added icons to left side instructions
- Small edits to left side instructions
- Resizing icons now clips range so no more insanely huge icons and makes college and community icons more reasonably sized
Backend
- Removed dot notation and use variables (
s[feature.id][_cats]
instead ofs[feature.id].a
) for more flexibility to change underlying icon array in the future - Created more robust
settings.js
for one-stop changes to map - Added font awesome icon
v0.5.0
Updates
Map
- new icons rather than circles
- added toggle that will adjust hs icon size by student/counselor ratio
- removed District data from popups
Background
- changed how
school_array.js
is constructed inmake_data.R
- smaller in size (1.9MB --> 1MB)
- only property is repeat of
id
(z
) b/c mapbox needs property sometimes but no repeats withschool_array
- updated mapbox-gl.js version to v0.42.2
- changed from property functions to newer property expressions