小程序map的自定义图标不显示问题

数据代码以下git

markers: [{
      id: 1,
      latitude: 23.099994,
      longitude: 113.327520,
      name: 'T.I.T 创意园',
      label: {
        content: "老人头",
        bgColor: "#ffffff",
        color: "#ff0000",
        padding: 10,
        display: "ALWAYS",
        borderRadius: 5,
        anchorX: -7,
        anchorY: -50,
        textAlign:'center'
      },
      iconPath: '/image/address.png',
    }, {
        id: 2,
        latitude: 23.099997,
        longitude: 113.324580,
        name: 'T.I.T 创意园', 
        iconPath: '/image/location.png',
      }
    ],

搞了很久发现longitude 写成了 longtitude, 坑惨了。
效果以下
code

相关文章
相关标签/搜索