Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add layers for legislative districts #20

Open
a-pasquale opened this issue Oct 12, 2017 · 2 comments
Open

Add layers for legislative districts #20

a-pasquale opened this issue Oct 12, 2017 · 2 comments
Assignees

Comments

@a-pasquale
Copy link
Member

Currently when hovering on the map, Massachusetts House legislative boundaries are displayed. We would like to be able to display Senate district boundaries as well. Adding layer controls to the leaflet openstreetmap would allow users to select which boundaries they want to see on hovering. Perhaps lights could be aggregated by district so all calls to a particular representative or senator would display together?

@andyanderson
Copy link
Member

andyanderson commented Oct 12, 2017 via email

@rick02840
Copy link
Member

Just for into, the map that currently exists for rep districts is put there in /themes/custom/lightup/js/map_actions.js
this code:
$.getJSON("/themes/custom/lightup/js/from_pat.geojson",function(data){
//L.geoJson( data ).addTo(map);
addDistrictsToMap(data, map);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants