security-force-monitor / sfm-cms

Platform for sharing complex information about security forces. Powers WhoWasInCommand.com
https://whowasincommand.com
10 stars 3 forks source link

use Units map code and upgrade django to 3.2.13 #805

Closed smcalilly closed 2 years ago

smcalilly commented 2 years ago

Overview

Fixes:

Dependent on merging the PR for the complex_fields dependency.

Notes

The code was expecting incident locations to have x,y coordinates, but sometimes the data is a polygon geometry type.

I used the code from this PR to render the map depending on geometry type. Very easy to work with!

Testing

Note that with the partial import, an incident is missing the country. This happens to me with both the master branch and this PR's code change.

Screen Shot 2022-04-26 at 2 09 21 PM