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

Customize map markers and popups #18

Open
gregjd opened this issue Nov 17, 2016 · 1 comment
Open

Customize map markers and popups #18

gregjd opened this issue Nov 17, 2016 · 1 comment

Comments

@gregjd
Copy link
Member

gregjd commented Nov 17, 2016

Markers need WWC vs. non-WWC, which will require importing data from the existing GeoJSON. (Also that GeoJSON can give us the dates.)

Number of policies:

  • If zero policies: don't display marker
  • If one policy: display year, means, link to policy page
  • If multiple policies: display number of policies (possibly year of most recent), link to place page
@gregjd
Copy link
Member Author

gregjd commented Nov 30, 2016

Update: 9ca2390 addresses the "number of policies" issue. I changed it so that it will just show a list of all policies for that place. So, basically the "if one policy" solution but for all policies, sorted in reverse chronological order.

Haven't yet explicitly handled the case where a place has no policies (which would happen if a place was added to _places but didn't actually have any associated documents).

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

No branches or pull requests

1 participant