| 123456789101112131415161718192021222324252627282930313233343536 |
- /**
- * @Author:Caven
- * @Date:2020-03-05 21:53:35
- */
-
- import ContextMenu from './type/ContextMenu'
- import LocationBar from './type/LocationBar'
- import MapSplit from './type/MapSplit'
- import MapSwitch from './type/MapSwitch'
- import Popup from './type/Popup'
- import Tooltip from './type/Tooltip'
- import HawkeyeMap from './type/HawkeyeMap'
- import Compass from './type/Compass'
- import DistanceLegend from './type/DistanceLegend'
- import ZoomController from './type/ZoomController'
- import LoadingMask from './type/LoadingMask'
- import TilesetSplit from './type/TilesetSplit'
- import SceneSplit from './type/SceneSplit'
-
- export default function createWidgets() {
- return {
- popup: new Popup(),
- contextMenu: new ContextMenu(),
- tooltip: new Tooltip(),
- mapSwitch: new MapSwitch(),
- mapSplit: new MapSplit(),
- locationBar: new LocationBar(),
- hawkeyeMap: new HawkeyeMap(),
- compass: new Compass(),
- distanceLegend: new DistanceLegend(),
- zoomController: new ZoomController(),
- loadingMask: new LoadingMask(),
- tilesetSplit: new TilesetSplit(),
- sceneSplit: new SceneSplit()
- }
- }
|