use Mini Program's official map interface to obtain your coordinate reference: https://developers.weixin.qq.
through the corresponding calculation, Get the straight line distance between two points reference: https://codeshelper.com/a/11.
the merchant will submit an address when registering, and there is a corresponding longitude and latitude
when you log in, Mini Program can also get your longitude and latitude
and leave the rest to junior high school math
lbs get to know
RT how does Mini Program realize the friend-to-friend mode? the back end is php. looking for onlookers to fight. How are these two modes realized? What is the principle? ask the hero for advice. This is the first time to do this ....
A merchant Mini Program needs to call a map interface. I want to ask PHP how to write this map interface and what high map API needs to be called. ...
has not done live broadcast function, I am a phper scum, I would like to ask the great gods of sf! ...
as shown above, click on the picture to preview the operation. The first click, the output of each image path are spliced with aa , , but the second click, the first spliced aa is still there, what the hell, I did not use setData to re-assign...
onCheckForUpdatetrueconsole ...
upSingleImg: function () { var that = this; wx.uploadFile({ url: url, filePath: that.data.arrImg[i], name: image , formData: { ... }, success: f...