Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

map.js - spot removal issue #412

Open
1 task
jagauthier opened this issue Oct 6, 2016 · 0 comments
Open
1 task

map.js - spot removal issue #412

jagauthier opened this issue Oct 6, 2016 · 0 comments

Comments

@jagauthier
Copy link

Checklist

  • [*] I have read the FAQ
  • [*] I have checked if this issue already exists (both open and closed issues)
  • [*] I am using the most recent version of pogom from the master branch
  • [] If this is an installation issue, I am posting my OS, OS version, python version, pip version
  • I'm posting the complete log
  • [*] I'm using a descriptive title for this issue

I discovered a potential issue when using a custom process to add and remove spots.

I can add a spot like so:
curl --data "lat=$lat&lng=$lon&radius=$radius" https://mystuff.org/location

After a moment a new area pops up on the map. Very cool.

However, when I remove that area:

curl -X DELETE --data "$lat&lng=$lon" https://mystuff.org/location

The command is received, and the spot is removed. But the web interface does not show it's removed, even after a updateScanLocations() executes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant