10金币
最佳答案您好,由于发布之后资源位置会发生变化,所以需要将图中这几行代码修改一下
var baseUrl = parent.Forguncy.Helper.SpecialPath.getBaseUrl();
var myIcon1 = new BMapGL.Icon(baseUrl +"GeneratedResources/UserFile/yc.png", new BMapGL.Size(100, 100));
var myIcon2 = new BMapGL.Icon(baseUrl +"GeneratedResources/UserFile/jzxc.png", new BMapGL.Size(100, 100));
| |
| |
| |