我不是英语国家,所以语法可能有误。请理解。如果你能给我一个例子,我将不胜感激。
1) ol.source : I'm curious about the role of the source.
2) ol.feature : I wonder what is "feature"..
3) layer.getSource().clear() : Is this a function that exists in the
ol library?
顺便说一句,我有一个距离测量代码,代码很简单,但我不知道它是如何工作的。
Layer.getSource().start - 什么是“开始”功能..?
openlayers 库中是“开始”吗?或者它是由某人制造和使用的?
我认为“源”具有各种功能..
var Btn = document.getElementById('button');
function distance() {
Layer.getSource().start({
map : map,
type : 'LineString'
});
}
Btn.addEventListener('click', distance);
没有错误,但是有没有办法看到“开始”的内部?我无法通过搜索找到它。
尚方宝剑之说
相关分类