|
@@ -11,9 +11,11 @@
|
|
*/
|
|
*/
|
|
|
|
|
|
import App from './view/App'
|
|
import App from './view/App'
|
|
-import connectTestTool from './view/utils/connectTestTool'
|
|
|
|
-import CoordinateConversion from './view/utils/CoordinateConversion';
|
|
|
|
-import HistoryTrackControl from './view/utils/historyTrackControl';
|
|
|
|
|
|
+import LocationCard from './view/common/LocationCard';
|
|
|
|
+import POI from './view/common/POI';
|
|
|
|
+import HisTrackCtrl from './view/utils/historyTrackControl';
|
|
|
|
+import MapUtil from './view/utils/MapUtil';
|
|
|
|
+import connectTestTool from './view/utils/connectTestTool';
|
|
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -55,8 +57,10 @@ window.CONFIG = JSON.parse(`{
|
|
|
|
|
|
window.MAP_NAME = window.CONFIG.map_name;
|
|
window.MAP_NAME = window.CONFIG.map_name;
|
|
|
|
|
|
|
|
+
|
|
// // Create app
|
|
// // Create app
|
|
-// let app = new App({ el: 'root', id: 'swa3s5ex', url: "ws://121.42.8.157:19702" })
|
|
|
|
|
|
+// let app = new App({ el: 'root', id: 'swa3s5ex', url:"ws://121.42.8.157:19702", origin: [39.62413679, 118.16254283] })
|
|
|
|
+
|
|
// // new App({ el: 'root' }).init();
|
|
// // new App({ el: 'root' }).init();
|
|
// console.log(app)
|
|
// console.log(app)
|
|
// app.init();
|
|
// app.init();
|
|
@@ -72,10 +76,10 @@ window.MAP_NAME = window.CONFIG.map_name;
|
|
|
|
|
|
const BunnyBlitz = {
|
|
const BunnyBlitz = {
|
|
MAP: App,
|
|
MAP: App,
|
|
|
|
+ MapUtil: MapUtil,
|
|
|
|
+ HisTrackControl: HisTrackCtrl,
|
|
|
|
+ LocationCard: LocationCard,
|
|
|
|
+ POI: POI,
|
|
connectTestTool: connectTestTool,
|
|
connectTestTool: connectTestTool,
|
|
- uploadMap: uploadMapData,
|
|
|
|
- moveMarker: updateMarkerPos,
|
|
|
|
- CoordinateConver: CoordinateConversion,
|
|
|
|
- HisTrackControl: HistoryTrackControl,
|
|
|
|
}
|
|
}
|
|
-export { BunnyBlitz }
|
|
|
|
|
|
+export { BunnyBlitz }
|