地图控件 上面加个浮动按钮却不显示
我在map 上面加个悬浮按钮,点击查找自己的位置, 并放大缩小,
在模拟器上可以正常显示, 但是在真机上面却显示不了。
<map id="map" scale="{{scale}}" markers="{{markers}}" latitude="{{latitude}}" longitude="{{longitude}}" controls="{{controls}}" show-location bindcontroltap="controltap" bindregionchange="regionchange" bindmarkertap="markertap" bindcallouttap="callouttap"
<image class='mypos padd' src='/image/icon/add.png' bindtap='addclick'></image>
</map> |
.mypos { position: fixed; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;}.pos { left: 10px; bottom: 120px;} |
在模拟器上面 如下图,显示正常, 但是在手机上不显示这个图标。
求大神指点。
