- Refactored to use one httpReq function
- Fixed the issue where create loc isn't called when adding a marked loc