接入微信js sdk说明文档和dome
https://qydev.weixin.qq.com/wiki/index.php?title=%E5%BE%AE%E4%BF%A1JS-SDK%E6%8E%A5%E5%8F%A3
https://www.weixinsxy.com/jssdk/#menu-location
一、微信jssdk报错 config:invalid url domain
因为没有配置好js接口安全域名
二、微信jssdk调用地图的坑
1、errMsg:openLocation:fail invalid_coordinate
因为经纬度必须传浮点数
wx.openLocation(function(){ longitude: longitude, latitude: latitude, name: name, address: address });
2、errmsg: 'openLocation:the permission value is offline veifying