Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Feature/update maps #707

Merged
merged 4 commits into from
Sep 22, 2015
Merged

Feature/update maps #707

merged 4 commits into from
Sep 22, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Sep 17, 2015

  • Build US state topojson from Census data (fixes FIPS code for Minnesota)
  • Use the same FIPS data as the API for developer sanity
  • Fix a few miscellaneous election map bugs
  • Add data provenance notes

Alaska is so large that selecting it would normally trigger a refresh of
the state overlays. This patch prevents state redraws triggered
internal zooming and panning.
@noahmanger
Copy link
Contributor

Which election map bugs does this fix? Just so I know where to look.

@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 18, 2015

Good call--I've been meaning to institute some standards for documenting issues and pull requests, and the description of this patch wouldn't have made the cut.

Fixes:

  • Clicking on Minnesota doesn't zoom in on Nevada
  • Clicking on Alaska doesn't highlight all states (this was happening because Alaska so big that zooming to it triggers the map to show all states)
  • If the URL includes a zip / state / district, don't draw the national map and then switch to the zip / state / district map

@noahmanger
Copy link
Contributor

Great. Functionally works great. @msecret do you want to review the js?

@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 21, 2015

@msecret do you have time to review? Would like to get this squared away soon if possible.

@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 22, 2015

@noahmanger turns out Marco's OOO for the week. We may want to merge now and ask for a review next week.

noahmanger pushed a commit that referenced this pull request Sep 22, 2015
@noahmanger noahmanger merged commit 725f549 into fecgov:develop Sep 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants