Closed gregallensworth closed 6 years ago
Area type is selected but no a specific area. Clickable polygons are presented.
A specific area type & area are both given. Filtering is performed to that selected area.
Neither given, no area type nor area selected
When a specific area is selected for filtering, this is preserved properly on page reload:
However, when an area type is selected but not a specific area the UI behavior is a bit weird.
In short: When loading initial state from URL params, if a geo is given but an identifier is not, the behavior should be as if one had just clicked the geo button, loading the GeoJSON and all.
Example URL: http://crashmapper.org/#/?cfat=true&cinj=true&endDate=2017-12&geo=nypd_precinct&identifier=&lat=40.70616014451694&lng=-73.977805&lngLats=%255B%255D&mfat=true&minj=true&noInjFat=false&pfat=true&pinj=true&startDate=2017-12&zoom=11