Mapbox - console.warning = "The sun direction is attached to a light with viewport anchor, lighting



mapbox文档讨论了将光锚设置为"map",但你到底在哪里这样做?Mapbox Docs setLight((

要在运行时将光锚设置为映射,您需要执行以下操作:

map.setLight({ anchor: 'map' });

最新更新