openlayers3:从 ol.source.vector 对象获取策略类型?

openlayers3 : get strategy type from ol.source.vector object?

有没有办法获取 openlayers3 ol.source.vector 对象中使用的策略类型?

使用 ol-debug.js 我可以遍历 source objet att 并获得 strategy_ 键,但是使用 ol.js 键有固定名称吗?

我需要刷新构建新源对象的图层,该对象的策略与初始对象相同。

目前无法通过 API 访问该策略,但我们欢迎添加 getStrategy() 的拉取请求 (PR)。请参阅此 PR 以获取灵感:https://github.com/openlayers/ol3/commit/908d4051cdef02c472565ccd25482a88e3c50f84#diff-588fbc85cf5a11dfa082ea47608d6729