涉及的代码:
<script module="arcgis" lang="renderjs">
import FeatureLayer from "@arcgis/core/layers/FeatureLayer";
import stickPic from "../../static/img/map/stick.png"; //这里报错
var stickLayer=new FeatureLayer({
renderer:{
type:"simple",
symbol:{
type: "picture-marker",
url:stickPic,
width:"13.2px",
height:"20px"
}
},
});
0 个回复