-
Notifications
You must be signed in to change notification settings - Fork 0
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
Other's alerts should populate map if within area #2
Comments
Screen.Recording.2021-07-13.at.8.07.17.PM.mov@michaelklem this appears to be working on my end. Should I proceed with making this use a configuration that specifies how close a user should be to receive the alert? |
Yes. Default to 1000 feet.
…On Tue, Jul 13, 2021, 6:11 PM tgreco ***@***.***> wrote:
https://user-images.githubusercontent.com/27317898/125544817-8d25837c-395c-43c2-8419-28d5fc927257.mov
@michaelklem <https://github.com/michaelklem> this appears to be working
on my end.
It doesn't appear to be setup to use any configuration to make sure I'm
within a certain area of the geofence alert. But it does correctly populate
the map for me.
Should I proceed with making this use a configuration that specifies how
close a user should be to receive the alert?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEQIO65FTI5I2ID4SDIAVLTXTP5PANCNFSM5AKMXOUQ>
.
|
This is complete now. You will need to merge the backend changes to main branch as I committed them on master out of habit. The value for how close a user must be is stored in the configuration "MAP_DISPLAY_ALERT_RADIUS". When location/map and location/geofence are called I now store the user's location in the user collection under the field "lastLocation". Then when the backend is looking for nearby users to send the websocket message to it will filter on user.lastLocation. I have only added this to the alertwalker-dev database. |
but also via web socket so the alert can be added to the map immediately. There appears to be logic in palce for the web socket part,
but it does not seem to get triggered. Can you verify the web socket portion works to send data under this condition.
The text was updated successfully, but these errors were encountered: