- 当我们讠问Map View的时候,会调用HTML5获取用户的位置
- 根据用户的位置定位,设置缩放
- 根据用户的位置发出ElasticSearch请求,蠔回结果中带上距离显示
简单说明 - - POST
- 用户填写数据会发给Django API,并验证
- 成功时,存入数据库,更新索引。
- When we visit Map View, it will call to obtain the user's location HTML5
- According to locate the user's position, set the zoom
- Issue ElasticSearch request based on the user's location and return the results to bring distance display
Brief Description - POST
- Users fill in data will be sent to Django API, and verify
- When successful, stored in the database, update the index.