Skip to content

YY. OverviewControl

鹰眼控件,小地图控件 基于 YY. Control

creation

  • constructor([options])
    • opitons {Object} 配置,一般情况下无需配置
      • position {String} 位置, 'top-left','top-right','bottom-left','bottom-right'

example

鹰眼控件,小地图控件

js
var overviewControl = new YY.OverviewControl();
map.addControl(overviewControl);

method

参考

YY. Control

This document is generated by vitepress and Edit by deyihu