-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
[BUG] Fix Incident Mapping Errors #303
Comments
One issue I noticed right off the bat: on this page, incident.locationLatLon doesn't actually return anything as the code is written now. If we want to return a value this way, we'll need to add a function to the Incident Model. I tried making the existing
|
@sashamaryl, I know it's been a while, but do you have any thoughts? |
Some additional insight into the issues here:
|
These functions (Search Panel Map) are coming from D3: https://github.com/d3/d3-geo |
Describe the bug
Both the search page and the incident view page are failing to properly map incidents. On the Search page with the map, the incidents are not showing up as markers on the map.
On the Results page, there's a crash as soon as you attempt to load.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When a search is entered, all of the results from that search should show up as markers on the map. When you click on the Full link, you should be taken to a page where the location of the incident is shown on a satellite map.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: