为什么arcgis api 4.x view绑定的click事件获得的response.results结果为空?
view.on('click', function(event) {
view.hitTest(event).then(function(res) {
console.log(res.results)
}
}
response.results结果为空。我是用vue+esri-loader做的,为什么会出现这种情况?
view.on('click', function(event) {
view.hitTest(event).then(function(res) {
console.log(res.results)
}
}
response.results结果为空。我是用vue+esri-loader做的,为什么会出现这种情况?
1 个回复
AriaGIS
赞同来自:
要回复问题请先登录或注册