You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.js 1.1KB

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * @Author:Caven
  3. * @Date:2020-03-05 21:53:35
  4. */
  5. import ContextMenu from './type/ContextMenu'
  6. import LocationBar from './type/LocationBar'
  7. import MapSplit from './type/MapSplit'
  8. import MapSwitch from './type/MapSwitch'
  9. import Popup from './type/Popup'
  10. import Tooltip from './type/Tooltip'
  11. import HawkeyeMap from './type/HawkeyeMap'
  12. import Compass from './type/Compass'
  13. import DistanceLegend from './type/DistanceLegend'
  14. import ZoomController from './type/ZoomController'
  15. import LoadingMask from './type/LoadingMask'
  16. import TilesetSplit from './type/TilesetSplit'
  17. import SceneSplit from './type/SceneSplit'
  18. export default function createWidgets() {
  19. return {
  20. popup: new Popup(),
  21. contextMenu: new ContextMenu(),
  22. tooltip: new Tooltip(),
  23. mapSwitch: new MapSwitch(),
  24. mapSplit: new MapSplit(),
  25. locationBar: new LocationBar(),
  26. hawkeyeMap: new HawkeyeMap(),
  27. compass: new Compass(),
  28. distanceLegend: new DistanceLegend(),
  29. zoomController: new ZoomController(),
  30. loadingMask: new LoadingMask(),
  31. tilesetSplit: new TilesetSplit(),
  32. sceneSplit: new SceneSplit()
  33. }
  34. }