Skip to content

shareforcodex/qqmap

 
 

Repository files navigation

TODO

the compass not works on ios safari and chrome try to fix it

can you make the detail ui on top riht of window more compact, add a more │ │ button, put export inpurt compass into a dropdown menu of more ; and we neednt mark prefix, remove it too

the compass works now but in wrong direction, when i turn left, it turn
│ right

/GET请求示例,注意参数值要进行URL编码 //周边搜索(圆形范围):boundary=nearby(lat,lng<中心坐标>,radius<半径/米>) https://apis.map.qq.com/ws/place/v1/search?boundary=nearby(40.040589,116.273543,1000)&keyword=公园&page_size=10&page_index=1&key=ZMFBZ-JCICK-WUBJ3-ACSIA-CJYS7-YMBRS

it will return:

{"status":0,"message":"Success","request_id":"719d77935c8180cc9c39ff3acc109f32","count":62,"data":[{"id":"10743810419307442475","title":"圆明园遗址公园","address":"北京市海淀区清华西路28号","tel":"010-62543673","category":"旅游景点:国家级景点","type":0,"location":{"lat":40.00743,"lng":116.297255},"_distance":4208.34,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"10377971534697885700","title":"百望山森林公园","address":"北京市海淀区黑山扈北口19号","tel":"010-62884508;010-62884356","category":"旅游景点:省级景点","type":0,"location":{"lat":40.029,"lng":116.25543},"_distance":2011.92,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"4653661092128960577","title":"首师大附中口袋公园","address":"北京市海淀区首师大附中北校区南墙外和东墙外侧","tel":"","category":"旅游景点:公园","type":0,"location":{"lat":40.044055,"lng":116.264822},"_distance":837.54,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"2166127490983956325","title":"中国银行城市森林公园","address":"北京市海淀区马连洼西路东100米","tel":"","category":"旅游景点:公园","type":0,"location":{"lat":40.034429,"lng":116.266574},"_distance":907.22,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"5694321068753239745","title":"百旺公园","address":"北京市海淀区东北旺","tel":"010-62577155;010-62537730;13466466007","category":"旅游景点:公园","type":0,"location":{"lat":40.043156,"lng":116.259384},"_distance":1240.18,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"10238175446080581729","title":"百望山森林公园-碑林捐资纪念碑","address":"北京市海淀区百望山森林公园内","tel":"010-62884356","category":"旅游景点:其它旅游景点","type":0,"location":{"lat":40.031281,"lng":116.263988},"_distance":1317.91,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"10241999386991760694","title":"百旺绿地公园","address":"北京市海淀区百旺家苑小区西侧","tel":"","category":"旅游景点:公园","type":0,"location":{"lat":40.027687,"lng":116.266755},"_distance":1548.37,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"3260520249902649880","title":"中关村公园","address":"北京市海淀区唐家岭土井村路45号","tel":"19910123076","category":"旅游景点:公园","type":0,"location":{"lat":40.061749,"lng":116.285991},"_distance":2583.35,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"2872789534166170196","title":"五一渠生态滨河公园","address":"北京市海淀区西北旺西路(永靓家园南)","tel":"","category":"旅游景点:公园","type":0,"location":{"lat":40.052835,"lng":116.25344},"_distance":2189.46,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}},{"id":"6848883204083209948","title":"厢黄旗公园","address":"北京市海淀区圆明园花园别墅东","tel":"","category":"旅游景点:公园","type":0,"location":{"lat":40.022771,"lng":116.293173},"_distance":2594.83,"ad_info":{"adcode":110108,"province":"北京市","city":"北京市","district":"海淀区"}}],"region":{"title":"中国"}}

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.4%
  • JavaScript 49.3%
  • CSS 0.3%