小程序 marker calllout 踩坑
发布日期:2021-05-13 21:11:55 浏览次数:18 分类:精选文章

本文共 1809 字,大约阅读时间需要 6 分钟。

��� uni-app ������������������������������ map ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

��������������������������������������� markers ��������������� title ������������������������

markers: [  {    id: 1,    latitude: 33.78098,    longitude: 119.26089,    title: '������������������'  }]

��������������������������� markers ��������� callout ���������callout ������������������������������������������������������������������������������������������������������������������������������callout ��� color ������������������������������������������������������������������

markers: [  {    id: 1,    latitude: 33.78098,    longitude: 119.26089,    callout: {      content: '������������������',      color: '#ff0000',      fontSize: 16,      borderRadius: 10,      bgColor: '#ffffff',      padding: 10    }  }]

���������������������������

  • ���������������������������������������������������������������
  • ���������������������������������������������������������
  • ��� callout ��������� padding ��� borderRadius ���������������������������
  • ���������������

    markers: [  {    id: 0,    latitude: 33.78098,    longitude: 119.26089,    title: '������������������'  },  {    id: 1,    latitude: 33.779778,    longitude: 120.701855,    callout: {      content: '������������������',      color: '#ff0000',      fontSize: 16,      borderRadius: 10,      bgColor: '#ffffff',      padding: 10    }  },  {    id: 2,    latitude: 33.779778,    longitude: 119.701955  }]

    ������������������������������������������ uni-app ������������������������������������������������������������������������������

    上一篇:vue 实现多选和单选
    下一篇:uni-app permission 添加

    发表评论

    最新留言

    第一次来,支持一个
    [***.219.124.196]2025年04月24日 01时39分23秒