Newer
Older
smartwell_front / src / views / home / dashboard / ponitMapStyle.ts
liyaguang on 27 Mar 6 KB 首页完成
const publicPath = window.location.href.split('#')[0]
export const getIconStyle = () => {
  return  [
    {
      url: `${publicPath}/image/well/well-normal.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/well/well-stop.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/well/well-error.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },


    {
      url: `${publicPath}/image/station/station-normal.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/station/station-stop.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/station/station-error.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },

    {
      url: `${publicPath}/image/pipeline/pieple-normal.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/pipeline/pieple-stop.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/pipeline/pieple-error.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },



    {
      url: `${publicPath}/image/force/force-normal.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/force/force-stop.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/force/force-error.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },



    {
      url: `${publicPath}/image/pass/pass-normal.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/pass/pass-stop.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/pass/pass-error.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },




    {
      url: `${publicPath}/image/occupy/occupy-normal.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/occupy/occupy-stop.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/occupy/occupy-error.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },



    {
      url: `${publicPath}/image/emergency/emergency-normal.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/emergency/emergency-stop.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
    {
      url: `${publicPath}/image/emergency/emergency-error.png`, // 图标地址
      // anchor: map.Pixel(4, 4), // 图标显示位置偏移量,基准点为图标左上角
      // size: map.Size(20, 20), // 图标的尺寸
      zIndex: 99, // 每种样式图标的叠加顺序,数字越大越靠前
    },
  ]
}