收藏
回答

map scale up problem

框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
小程序 Bug map 客户端 6.7.3 2.4.0

- 当前 Bug 的表现(可附上截图)


- 预期表现


- 复现路径


- 提供一个最简复现 Demo


<map style="width:100%;height:100%" id="myMap" show-location latitude="13.8000949591" longitude="100.550317565" markers="{{markers_live}}" scale="{{scale}}"></map>


I'm try to set map scale in Android by setData({scale : 20}) , the problem in android is map not scale over 19 but in IOS it smooth change scale.


回答关注问题邀请回答
收藏

3 个回答

  • 疯狂的小辣椒
    疯狂的小辣椒
    2018-11-20

    Hello, this is a known issue which will be fixed with the next version.

    2018-11-20
    有用 1
    回复 2
    • 2018-11-20

      thank you for quick reply .May be next version please add event doubletab on map.

      2018-11-20
      回复
    • 卢霄霄
      卢霄霄
      2018-11-20回复

      After version 2.3.0, there is a parameter of bindregionchange named 'causedBy', which can be usefull in this situation.

      2018-11-20
      回复
  • 卢霄霄
    卢霄霄
    2018-11-20

    There is some official claims that the next version will keep iOS and Android in line.

    2018-11-20
    有用 1
    回复
  • 颠倒的解集
    颠倒的解集
    2018-12-13

    The 'causeBy' is not exact in Android. When I set the latitude and longitude of the map component, it would display the type for 'drag' and ' ', but I didn't drag the map.

    2018-12-13
    有用
    回复
登录 后发表内容