Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

index.js 1.0KB

12345678910111213141516171819202122232425262728293031323334
  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. export default function createWidgets() {
  18. return {
  19. popup: new Popup(),
  20. contextMenu: new ContextMenu(),
  21. tooltip: new Tooltip(),
  22. mapSwitch: new MapSwitch(),
  23. mapSplit: new MapSplit(),
  24. locationBar: new LocationBar(),
  25. hawkeyeMap: new HawkeyeMap(),
  26. compass: new Compass(),
  27. distanceLegend: new DistanceLegend(),
  28. zoomController: new ZoomController(),
  29. loadingMask: new LoadingMask(),
  30. tilesetSplit: new TilesetSplit()
  31. }
  32. }