楼主解决问题了吗?
小程序地图组件在真机上显示标记点丢失?<map id="myMap" markers="{{markers}}" show-scale="{{true}}" show-compass scale="{{scale}}" setting="{{setting}}" enable-overlooking latitude="{{latitude}}" longitude="{{longitude}}" include-points="{{points}}" show-location="{{true}}"></map> { "markers": [{ "id": 1, "latitude": 32.906174, "longitude": 115.827464, "iconPath": "/images/location.png", "width": 20, "height": 20, "callout": { "textAlign": "center", "fontSize": 14, "padding": 5, "bgColor": "#ffffff", "borderRadius": 5, "borderColor": "#ff7800", "color": "#ff7800", "content": "小天才阜阳颍泉财富广场一楼店", "display": "ALWAYS" } }, { "id": 1, "latitude": 23.014734, "longitude": 113.7452, "iconPath": "/images/location.png", "width": 20, "height": 20, "callout": { "textAlign": "center", "fontSize": 14, "padding": 5, "bgColor": "#ffffff", "borderRadius": 5, "borderColor": "#ff7800", "color": "#ff7800", "content": "小天才东莞凯德广场三楼店", "display": "BYCLICK" } }, { "id": 2, "latitude": 23.014163854, "longitude": 113.760801427, "iconPath": "/images/location.png", "width": 20, "height": 20, "callout": { "textAlign": "center", "fontSize": 14, "padding": 5, "bgColor": "#ffffff", "borderRadius": 5, "borderColor": "#ff7800", "color": "#ff7800", "content": "小天才东莞市民中心新华书店", "display": "BYCLICK" } }], "points": [{ "latitude": 32.906174, "longitude": 115.827464 }, { "latitude": 23.014734, "longitude": 113.7452 }, { "latitude": 23.014163854, "longitude": 113.760801427 }] } 开发者工具上可以显示 [图片] 但是在真机上面无法显示安徽的那个坐标
2020-11-20