部署到主租户后无法加载映像

时间:2018-08-06 13:12:01

标签: javascript cumulocity

我创建了一个imgs文件夹,并将我的图像图标放在该文件夹中。我在本地测试时,图标工作正常,但是部署到主租户后出现错误,它无法搜索标记图标。

这是我的map.widget的cumulocity.json文件:

{
    "name": "Map Widget",
    "description": "Displaying the list of wagons on the map",
    "ngModules": [
        "amra.mymap-widget"
    ],
    "js": [
        "mymap-widget.module.js",
        "mymap-widget.config.js",
        "mymap-widget.component.js",
        "mymap-widget.service.js",
        "mymap-widget.constants.js"

],

"css": [

    "styles.css"
  ],

  "copy": [
      { 
            "cwd": "imgs/",
          "files":[
               "imgs/marker-icon-2x.png"       ] 
      }
  ]
}

请告诉我该怎么做!

0 个答案:

没有答案