EarthCompassComponent(param, param)

new EarthCompassComponent(param, param)

地球指北针组件类构造函数,用于在场景中显示地球指北针。
Parameters:
Name Type Description
param object 参数列表
Properties
Name Type Description
position string 指北针的位置,可选值为 'lt'、'rt'、'lb'、'rb',分别对应左上方、右上方、左下方、右下方。
size number 指北针的大小,单位为像素。
flyTime number 点击指北针指北时的飞行时间,单位为秒。
param
Author:
  • Huyang