ICode9

精准搜索请尝试: 精确搜索
  • 微信小程序获取地址逆向解析地址名称2019-05-31 18:50:52

    小程序获取用户地址 wgs84 返回 gps 坐标,gcj02 返回可用于 wx.openLocation 的坐标 wx.getLocation({ type: 'wgs84', success (res) { const latitude = res.latitude const longitude = res.longitude const speed = res.speed const accuracy = res.accura

  • 小程序地图导航功能实现(勾起使用外部高德或者腾讯地图)2019-05-18 17:38:43

    原理就是:使用sdk 解析地址成经纬,再唤起小程序地图解析,然后通过这个选择使用外部的地图软件。 首先使用:先去下载腾讯地图sdk,将其引用。 第一步: var QQMapWX = require('../../map/qqmap-wx-jssdk.min.js'); const wxMap = new QQMapWX({ key: '*********' // 必填 });     第二

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有