html52.com
我爱小程序-开发者交流社区

地图里的经度纬度不能手动设置吗

问题模块
API和组件


116.46和 39.92是通过地图组件获取的数据,不用变量手动赋值,就出现location参数错误


 wx.openLocation({

      latitude: 116.46,

      longitude: 39.92,

      scale: 28

    })


网友回复

唐尧:

谢谢

晨:

你应该是把经纬度写翻了吧

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付