首页 / 浏览问题 / 三维GIS / 问题详情
webgl鹰眼调用出错
22EXP 2019年11月08日
现在我用的鹰眼demo里的代码,已经有了界面但是在调用

 map.addControl(new SuperMap.Control.Navigation({
                dragPanOptions: {
                    enableKinetic: true
                }
            }));

时,控制台报错了:VM5126:1 GET http://localhost/theme/images/cursors/Pan.cur 404 (Not Found)
getCurrentSize @ VM5126:1
updateSize @ VM5126:1
initialize @ VM5126:1
_hawkeyemap @ HawkeyeMap.js:46
_Initialize @ HawkeyeMap.js:21
_ShadowEnable @ Tool.js:56
(anonymous) @ Widget.js:92
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
VM5126:1 GET http://localhost/theme/default/style.css net::ERR_ABORTED 404 (Not Found)
initialize @ VM5126:1
_hawkeyemap @ HawkeyeMap.js:46
_Initialize @ HawkeyeMap.js:21
_ShadowEnable @ Tool.js:56
(anonymous) @ Widget.js:92
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
2PanDown.cur:1 GET http://localhost/theme/images/cursors/PanDown.cur 404 (Not Found)
VM5128:1 GET http://localhost/theme/images/cursors/Pan.cur 404 (Not Found)
A.resize @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
requestAnimationFrame (async)
i @ VM5128:1
t @ VM5128:1
2PanDown.cur:1 GET http://localhost/theme/images/cursors/PanDown.cur 404 (Not Found)

请问这个怎么处理

1个回答

您下载的是这个吗http://support.supermap.com.cn/UploadFilesData/c19726776341811_SuperMap%20iClient3D%209D%20for%20WebGL%E9%B9%B0%E7%9C%BC%E5%9B%BE.zip

我用这个示例使用没有出现问题

而且您这个报错是未找到该文件PanDown.cur,示例中并没有用到该文件

6,215EXP 2019年11月08日
...