Skip to content

Releases: nudge4/map_resources

v0.12.0

Choose a tag to compare

@btskinner btskinner released this 01 Aug 20:36

Updates

  • added legend for icon size
  • updated Google Form link

v0.11.0

Choose a tag to compare

@btskinner btskinner released this 30 Jun 22:18

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

Choose a tag to compare

@btskinner btskinner released this 22 May 16:46

Updates

  • added advising information for more high schools
  • added HS data for missing states
  • first full feature map

v0.9.0

Choose a tag to compare

@btskinner btskinner released this 17 Feb 23:21

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 from features.id to features.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 and icon.geojson to remove whitespace using
    • cat 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

Choose a tag to compare

@btskinner btskinner released this 15 Feb 21:22

Updates

New

  • Added temporary text to extra pages, which now have basic styling (in progress)
  • Added icon suggesting home screen save for mobile devices only, which doesn't appear after user has saved to home screen

v0.7.2

Choose a tag to compare

@btskinner btskinner released this 15 Feb 19:28

Updates

Bug fixes

  • Fixed newly introduced bug that wouldn't let user pan/scroll on device in landscape mode

Additions

  • Added icon to save to home on apple phones (gets rid of URL and bottom bar in safari)

v0.7.1

Choose a tag to compare

@btskinner btskinner released this 14 Feb 20:04

Updates

  • Re-centered flyto so the resulting popups are are little less than vertically center; this looks better on small devices and fine on large screens.
  • General formatting of sidebar and popups

v0.7.0

Choose a tag to compare

@btskinner btskinner released this 13 Feb 21:40

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

Choose a tag to compare

@btskinner btskinner released this 07 Feb 21:27

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 of s[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

Choose a tag to compare

@btskinner btskinner released this 21 Dec 21:23

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 in make_data.R
    • smaller in size (1.9MB --> 1MB)
    • only property is repeat of id (z) b/c mapbox needs property sometimes but no repeats with school_array
  • updated mapbox-gl.js version to v0.42.2
  • changed from property functions to newer property expressions