Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/405.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Openlayers 3是否可以从ol.source.VectorTile源获取功能?_Javascript_Maps_Openlayers 3 - Fatal编程技术网

Javascript Openlayers 3是否可以从ol.source.VectorTile源获取功能?

Javascript Openlayers 3是否可以从ol.source.VectorTile源获取功能?,javascript,maps,openlayers-3,Javascript,Maps,Openlayers 3,我有一个ol.layer.VectorTile层和一个ol.source.VectorTile源,我想获得与鼠标最接近的单个功能,类似于ol.source.Vector的getClosestFeatureToCoordinate 我在ol.source.VectorTile的磁贴缓存中找到了这些功能,但还没有找到正确的API。。有吗 即使是一种将这些功能与单独的ol.集合保持同步的方法也能奏效

我有一个ol.layer.VectorTile层和一个ol.source.VectorTile源,我想获得与鼠标最接近的单个功能,类似于ol.source.Vector的getClosestFeatureToCoordinate


我在ol.source.VectorTile的磁贴缓存中找到了这些功能,但还没有找到正确的API。。有吗

即使是一种将这些功能与单独的ol.集合保持同步的方法也能奏效