sunlightpolicy / opendatapoliciesstatic

Source code for OpenDataPolicies.org
http://www.opendatapolicies.org/
Other
6 stars 8 forks source link

Customize map markers and popups #18

Open gregjd opened 7 years ago

gregjd commented 7 years ago

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:

gregjd commented 7 years ago

Update: https://github.com/sunlightpolicy/opendatapoliciesstatic/commit/9ca239098e5c12434d85cd664def9b13cd4af999 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).