map组件,动态修改longitude,latitude之后,map定位不能移动到中心,有时候可以,有时候不能,用的是wepy框架
<map
id=“map”
scale="{{scale}}"
controls="{{controls}}"
bindcontroltap=“controltap”
markers="{{markers}}"
latitude="{{latitude}}"
longitude ="{{longitude }}"
bindmarkertap=“markertap”
bindregionchange=“regionchange”
bindtap=“mapclick”
show-location = “{{showlocation}}”
style=“width:100%;height:{{Mapheight}}”
bindupdated =“mapupdated”
setting="{{setting}}"
>