mixdashboards 1.0.73 → 1.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BaseComponent-CaCkjmmb.cjs +1 -0
- package/dist/{BaseComponent-CBagahPU.js → BaseComponent-NnwLq7Cf.js} +148 -122
- package/dist/{EChartComponentBase-cFfawl6h.js → EChartComponentBase-C3gcATBZ.js} +3 -3
- package/dist/{EChartComponentBase-dLE5F7Tt.cjs → EChartComponentBase-D7_ZiE7P.cjs} +1 -1
- package/dist/{EmergencyPlanPanel--jTGG89o.js → EmergencyPlanPanel-0EfbQlQm.js} +1 -1
- package/dist/{EmergencyPlanPanel-BJb-Bbxh.cjs → EmergencyPlanPanel-XDtQc5aN.cjs} +1 -1
- package/dist/{HistoryPlanDialog-C-QPdV4V.cjs → HistoryPlanDialog-fbBtPeVt.cjs} +1 -1
- package/dist/{HistoryPlanDialog-DerClU2U.js → HistoryPlanDialog-ihGqWXNI.js} +1 -1
- package/dist/{MarkerView-CtWJi5UZ.js → MarkerView-DDN8S7xE.js} +7 -7
- package/dist/{MonitoringMap-CNaGsq83.js → MonitoringMap-DysFrw3B.js} +2 -2
- package/dist/{MonitoringMap-B6RMbiIS.cjs → MonitoringMap-UT2OL3ca.cjs} +1 -1
- package/dist/{RoamController-DmBIwcAZ.js → RoamController-1rzpYesL.js} +1 -1
- package/dist/{UniverSheet-KI09RqKm.js → UniverSheet-CMWL98B8.js} +2 -2
- package/dist/{UniverSheet-CM-vvc23.cjs → UniverSheet-DeZ-y5mH.cjs} +1 -1
- package/dist/{VisualMapping-D-MA7S0X.js → VisualMapping-GwxHIgr-.js} +1 -1
- package/dist/{accelerationChart-HBCb2bRW.cjs → accelerationChart-BGjzOc4I.cjs} +1 -1
- package/dist/{accelerationChart-D7KNk5fI.js → accelerationChart-JNRxAqU5.js} +23 -23
- package/dist/{actionItem-Bx4mW0jP.cjs → actionItem-DDlL4pxR.cjs} +1 -1
- package/dist/{actionItem-BmNYzAXu.js → actionItem-DnrNafUu.js} +2 -2
- package/dist/{alarmLevelChart-Cvnw4z1w.cjs → alarmLevelChart-B4TglthF.cjs} +1 -1
- package/dist/{alarmLevelChart-DdSw2s7W.js → alarmLevelChart-D4ZPyGyd.js} +2 -2
- package/dist/{alertTable-CC3c8DFb.js → alertTable-IwL3PIbe.js} +2 -2
- package/dist/{alertTable-hH6HA9pY.cjs → alertTable-WmivR3n_.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-yDiavTpG.js → aliasObjectSelectorDemo-DCcqetww.js} +9 -9
- package/dist/{aliasObjectSelectorDemo-C7E_fnCf.cjs → aliasObjectSelectorDemo-zcElLG44.cjs} +1 -1
- package/dist/{annualRainfallChart-B9ar8vo8.js → annualRainfallChart-CNqrXKJZ.js} +3 -3
- package/dist/{annualRainfallChart-C6JLSPIf.cjs → annualRainfallChart-DspMrDxt.cjs} +1 -1
- package/dist/{aqi-DEiCVIVa.cjs → aqi-B1bcKY5p.cjs} +1 -1
- package/dist/{aqi-BNc5QCM3.js → aqi-CdGE9-CD.js} +10 -10
- package/dist/{aqiIndass-Bowic_Pc.cjs → aqiIndass-BZpPo1tj.cjs} +1 -1
- package/dist/{aqiIndass-CAGV8_Uf.js → aqiIndass-CuKfMaYn.js} +30 -30
- package/dist/{areaDeformCurve-CSpR060t.js → areaDeformCurve-Chn4CE8w.js} +4 -4
- package/dist/{areaDeformCurve-CVy23kV2.cjs → areaDeformCurve-bNNNS8Cb.cjs} +1 -1
- package/dist/{arrayCard-NqoQKcE9.cjs → arrayCard-BYZWRop3.cjs} +1 -1
- package/dist/{arrayCard-PPDb7U6X.js → arrayCard-CVVWnZDk.js} +2 -2
- package/dist/{audio-Bw-GaYe1.cjs → audio-BeYg08W5.cjs} +1 -1
- package/dist/{audio-BJPFIQIr.js → audio-YTfr7Lqf.js} +2 -2
- package/dist/{axisAlignTicks-BqVUa467.js → axisAlignTicks-Chqgi59U.js} +2 -2
- package/dist/bar-1K14ZPKy.cjs +2 -0
- package/dist/bar-YhAAV2al.js +309 -0
- package/dist/bmp-Uj7Bu61U.js +2080 -0
- package/dist/bmp-vWIH5Cu7.cjs +1 -0
- package/dist/{box-DIHVOqrV.js → box-C8RIfuID.js} +2 -2
- package/dist/{box-CKuGsh2k.cjs → box-Cdzw27uU.cjs} +1 -1
- package/dist/{chartConfigPanel-BVdVXbs6.cjs → chartConfigPanel-D3voTkdQ.cjs} +1 -1
- package/dist/{chartConfigPanel-D1rO6SGh.js → chartConfigPanel-DLa3heKy.js} +1 -1
- package/dist/{circleBar-CBLcp4Xi.js → circleBar-DUSP-iMF.js} +15 -15
- package/dist/{circleBar-BzXqA-Cz.cjs → circleBar-Dc_qd4gk.cjs} +1 -1
- package/dist/{clock-DmWyBpo-.cjs → clock-0USfNfTc.cjs} +1 -1
- package/dist/{clock-4AMfFDGC.js → clock-Dk1zjBcJ.js} +2 -2
- package/dist/clt-BCHpLoab.cjs +1 -0
- package/dist/clt-Ba9Ov5WY.js +296 -0
- package/dist/cmc-CdDCboSm.cjs +1 -0
- package/dist/{cmc-Cjb5w3om.js → cmc-CsVB4uz3.js} +71 -63
- package/dist/cmp-BPM8lMqg.cjs +6 -0
- package/dist/{cmp-COJzlQPa.js → cmp-D4ZO7mz7.js} +54 -55
- package/dist/{conclusionCard-C-TT6znN.cjs → conclusionCard-BVHHtpxH.cjs} +1 -1
- package/dist/{conclusionCard-BQUlLFde.js → conclusionCard-BYR-fH4f.js} +2 -2
- package/dist/{controlList-5D5UIDQL.js → controlList-DYV1wgUY.js} +2 -2
- package/dist/{controlList-CIwzKylK.cjs → controlList-DsEyes9v.cjs} +1 -1
- package/dist/{controlRecordList-Cp5mmEQ1.js → controlRecordList-CBGpB41d.js} +2 -2
- package/dist/{controlRecordList-uEQ3ohmB.cjs → controlRecordList-j0pBrQiU.cjs} +1 -1
- package/dist/{controlRecordListAPP-B5d4x_xH.cjs → controlRecordListAPP-BktJCkFK.cjs} +1 -1
- package/dist/{controlRecordListAPP-p_skbQVD.js → controlRecordListAPP-CSt8rFZX.js} +2 -2
- package/dist/{crd-Dfl2XKAx.cjs → crd-C8IqmHc6.cjs} +1 -1
- package/dist/{crd-8gRWMf2Y.js → crd-Di7EfiY1.js} +2 -2
- package/dist/{createSeriesData-E53TTCAt.js → createSeriesData-BUgbWEWK.js} +2 -2
- package/dist/{createSeriesDataSimply-Bsly4zZA.js → createSeriesDataSimply-C7bzYYow.js} +2 -2
- package/dist/{ctrBtn-BzmFxucy.js → ctrBtn-BzMHJHA9.js} +94 -89
- package/dist/ctrBtn-Cj-AqUKM.cjs +1 -0
- package/dist/ctrSet-CnDBng-I.cjs +1 -0
- package/dist/ctrSet-DMkuRDFI.js +234 -0
- package/dist/ctrSwitch-BRfl35Aw.cjs +1 -0
- package/dist/{ctrSwitch-6nMHbIE7.js → ctrSwitch-FJgD05b0.js} +94 -88
- package/dist/{cursorHelper-DE0KU4_J.js → cursorHelper-BFbblC6t.js} +1 -1
- package/dist/{customGraphicKeyframeAnimation-BJ_z0kB3.js → customGraphicKeyframeAnimation-veqkTlqy.js} +17 -17
- package/dist/{dataManagement-BZiSmktM.js → dataManagement-CQoqc9Rh.js} +2 -2
- package/dist/{dataManagement-sQpuBaDz.cjs → dataManagement-CXbeNggN.cjs} +1 -1
- package/dist/{dataReport-D9Q9c43B.cjs → dataReport-BkIDOCdC.cjs} +1 -1
- package/dist/{dataReport-CbJzXeCE.js → dataReport-l2SE8HZx.js} +2 -2
- package/dist/{dataSample-BXwc06Sb.js → dataSample-Czrba8EC.js} +1 -1
- package/dist/{dataTable-BJ4SVFbu.cjs → dataTable-BdttKfHG.cjs} +1 -1
- package/dist/{dataTable-BuBB0b-A.js → dataTable-jf6qXfJJ.js} +1 -1
- package/dist/{datetime-B66VgJL1.cjs → datetime-BH9orUUf.cjs} +1 -1
- package/dist/{datetime-DO03QrXz.js → datetime-eht4XkmD.js} +2 -2
- package/dist/{deepClusterSlipSurface-BqT55vkY.cjs → deepClusterSlipSurface-CF_MN7sO.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-DpSAXgFf.js → deepClusterSlipSurface-D2d52L50.js} +6 -6
- package/dist/{deepDataMatrix-CPrIOv5r.js → deepDataMatrix-DY1WmgGR.js} +7 -7
- package/dist/{deepDataMatrix-DZZaTMbD.cjs → deepDataMatrix-DqbCqz8d.cjs} +1 -1
- package/dist/{deepDisplacement3D-JlMej7-5.js → deepDisplacement3D-CuVVhd0X.js} +20 -21
- package/dist/{deepDisplacement3D-Cd9nwwPt.cjs → deepDisplacement3D-D3-KOmef.cjs} +60 -60
- package/dist/{deepDisplacementChart-CEaj2bUV.cjs → deepDisplacementChart-BwBojI9h.cjs} +1 -1
- package/dist/{deepDisplacementChart-CjlGpeHj.js → deepDisplacementChart-C_3eHTmR.js} +25 -25
- package/dist/{deepDisplacementChart-BiDt60xI.js → deepDisplacementChart-DFosjAQL.js} +4 -4
- package/dist/{deepDisplacementChart-CALM3gna.cjs → deepDisplacementChart-DzikjpBz.cjs} +1 -1
- package/dist/{deepDisplacementView-BpUw-b-i.js → deepDisplacementView-BNQaheci.js} +3 -3
- package/dist/{deepDisplacementView-CoSNzN1q.cjs → deepDisplacementView-gJdi6U9B.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-DfZq7kLx.js → deepNodeTemperatureChart-C5d-tyOA.js} +22 -22
- package/dist/{deepNodeTemperatureChart-DPN0rYir.cjs → deepNodeTemperatureChart-oMknBT7e.cjs} +1 -1
- package/dist/{deepTangentAngleChart-Ca01hah9.js → deepTangentAngleChart-C35d0nBR.js} +18 -18
- package/dist/{deepTangentAngleChart-Dg9PJspK.cjs → deepTangentAngleChart-C7b7sEab.cjs} +1 -1
- package/dist/{deepTemperatureField-BqDB97SW.cjs → deepTemperatureField-BnWHpVPm.cjs} +1 -1
- package/dist/{deepTemperatureField-CYBTjhEp.js → deepTemperatureField-DbGy0vHS.js} +25 -25
- package/dist/{deepTrendChart-B5BAHTeY.cjs → deepTrendChart-D676owsq.cjs} +1 -1
- package/dist/{deepTrendChart-DBjxV7_A.js → deepTrendChart-DdCYjiWZ.js} +18 -18
- package/dist/{deviceOnlineStatus-1eoHCl_-.js → deviceOnlineStatus-BH-2-UBD.js} +2 -2
- package/dist/{deviceOnlineStatus-DHzaAzCp.cjs → deviceOnlineStatus-DSuaeFZj.cjs} +1 -1
- package/dist/{deviceStatus-90rQa1uj.js → deviceStatus-CxjbfqGK.js} +15 -15
- package/dist/{deviceStatus-4BMy4qBD.cjs → deviceStatus-ySE9suGE.cjs} +1 -1
- package/dist/{displacementDataTable-BArwj-xp.js → displacementDataTable-CAYYafN7.js} +17 -17
- package/dist/{displacementDataTable-BLWjiaRQ.cjs → displacementDataTable-DwutxypE.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-CxOPJVlD.js → displacementTrajectoryChart-ClUAsle_.js} +14 -14
- package/dist/{displacementTrajectoryChart-DfJMOCFJ.cjs → displacementTrajectoryChart-zya-qu9n.cjs} +1 -1
- package/dist/{displacementTrendChart-Cuxa5iTp.cjs → displacementTrendChart-DZj52qRD.cjs} +1 -1
- package/dist/{displacementTrendChart-4E6cDsX8.js → displacementTrendChart-xqe9LMp8.js} +17 -17
- package/dist/{dxf-BgklkksV.cjs → dxf-Cmr9xmL0.cjs} +1 -1
- package/dist/{dxf-BogwbJID.js → dxf-tZgpovsn.js} +2 -2
- package/dist/{dzc-CApfzriC.cjs → dzc-BwCEpLKp.cjs} +1 -1
- package/dist/{dzc-D7tTBLaA.js → dzc-C0VMyvsH.js} +9 -9
- package/dist/{echarts-BVht3HHb.js → echarts-Bp7QN4X6.js} +90 -90
- package/dist/{emergencyPlan-BuFz4XFc.cjs → emergencyPlan-CQtYRB5n.cjs} +1 -1
- package/dist/{emergencyPlan-CjbuX-N5.js → emergencyPlan-j1icRflR.js} +3 -3
- package/dist/{evn-DTPm72ZM.js → evn-B2F6pbqY.js} +2 -2
- package/dist/{evn-BcSenXF3.cjs → evn-B6WNZ0pv.cjs} +1 -1
- package/dist/{evolutionChart-D1dVKWOt.js → evolutionChart-C1rPjVsB.js} +5 -5
- package/dist/{evolutionChart-CrwR8i40.cjs → evolutionChart-q9UtSs9r.cjs} +1 -1
- package/dist/{fileViewer-BNHwlZRa.js → fileViewer-Bj4FYg5G.js} +13 -13
- package/dist/{fileViewer-BUuST3Rp.cjs → fileViewer-ZO55zvWU.cjs} +1 -1
- package/dist/{filterBar-CRJinh5K.js → filterBar-CIYpcc9y.js} +2 -2
- package/dist/{filterBar-BJzjPFFg.cjs → filterBar-D7js_Q7g.cjs} +1 -1
- package/dist/{fireCombustionCurve-BGdJ1ybj.cjs → fireCombustionCurve-CiVXjt9E.cjs} +1 -1
- package/dist/{fireCombustionCurve-BZ6qJ1kq.js → fireCombustionCurve-DEHjb7Lp.js} +3 -3
- package/dist/{fireFilterBar-KvvbsCsZ.js → fireFilterBar-BzgnlY5d.js} +2 -2
- package/dist/{fireFilterBar-DZejT0oL.cjs → fireFilterBar-CkQU9Yaf.cjs} +1 -1
- package/dist/{fireHistoryTable-80ygqnOG.js → fireHistoryTable-BoAArvjx.js} +2 -2
- package/dist/{fireHistoryTable-CMSGKb3w.cjs → fireHistoryTable-JCY4nLos.cjs} +1 -1
- package/dist/gag-CrUeBa30.cjs +1 -0
- package/dist/gag-DCGVulGC.js +168 -0
- package/dist/{gasStationList-DjJtXnqL.cjs → gasStationList-CN2y3zri.cjs} +1 -1
- package/dist/{gasStationList-DM-laJsi.js → gasStationList-CifrfkH0.js} +3 -3
- package/dist/{geo3dViewer-CL_89mQf.cjs → geo3dViewer-BSAjBg2m.cjs} +1 -1
- package/dist/{geo3dViewer-FhmMIvMJ.js → geo3dViewer-Du775tJ7.js} +3 -3
- package/dist/{glbModel-B0nWYYJQ.js → glbModel-2uTNL367.js} +2 -2
- package/dist/{glbModel-DakMJal6.cjs → glbModel-Cm1M6hko.cjs} +1 -1
- package/dist/{globalObjectSelector-Gv4srHhp.js → globalObjectSelector-CEpO2o2w.js} +1 -1
- package/dist/{globalObjectSelector-jNzZxdnL.cjs → globalObjectSelector-W_YToM6x.cjs} +1 -1
- package/dist/{gnssFilterBar-kEIW7Tjs.cjs → gnssFilterBar-BSHEfiyz.cjs} +1 -1
- package/dist/{gnssFilterBar-C4rpyNw3.js → gnssFilterBar-DZYOL5nC.js} +2 -2
- package/dist/{gnssHistoryTable-DRKlP8-b.cjs → gnssHistoryTable-Ct98Vz6i.cjs} +1 -1
- package/dist/{gnssHistoryTable-CyMwQJ7_.js → gnssHistoryTable-naChmXHT.js} +2 -2
- package/dist/{gnssMapView-DpExCi0x.cjs → gnssMapView-CCW4_-Sn.cjs} +2 -2
- package/dist/{gnssMapView-EVufCGrW.js → gnssMapView-DouWOPLF.js} +6 -6
- package/dist/{gnssSectionProfile-CaJwF9wp.js → gnssSectionProfile-Be-THvQP.js} +4 -4
- package/dist/{gnssSectionProfile-DdcOMdNC.cjs → gnssSectionProfile-hzXQ4KzJ.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-y11Y8k2-.cjs → gnssTimeSeriesChart-CbMxKxjG.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-iffDvMNx.js → gnssTimeSeriesChart-DoMBz4zf.js} +2 -2
- package/dist/{gnssXYTrajectory-DGBGGDwi.cjs → gnssXYTrajectory-BNwqQna4.cjs} +1 -1
- package/dist/{gnssXYTrajectory-C_1fuLWn.js → gnssXYTrajectory-Bg2B89Vw.js} +2 -2
- package/dist/{grd-C4hCrpvH.cjs → grd-C-x23C0E.cjs} +1 -1
- package/dist/{grd-FfuMQJb7.js → grd-XTVPofQw.js} +17 -17
- package/dist/{grdIndass-BTbZmPLZ.js → grdIndass-CYawTr5K.js} +2 -2
- package/dist/{grdIndass-CyuRKD5H.cjs → grdIndass-h7STZwba.cjs} +1 -1
- package/dist/{grg-CcnI5kRY.js → grg-BZPHOdr_.js} +16 -16
- package/dist/{grg-Cuxa17d6.cjs → grg-DMRsgNoC.cjs} +1 -1
- package/dist/{gridview-CKjBuTRq.cjs → gridview-BAqXV-TI.cjs} +1 -1
- package/dist/{gridview-ffVc5Wvg.js → gridview-C_Lqcw3n.js} +2 -2
- package/dist/{groundwaterFilterBar-DaPR-kbl.js → groundwaterFilterBar-Dq216QFO.js} +2 -2
- package/dist/{groundwaterFilterBar-D3l7GLVY.cjs → groundwaterFilterBar-RcVBt_vt.cjs} +1 -1
- package/dist/{groundwaterProfileChart-DoSx7WWp.js → groundwaterProfileChart-7LN3wfLM.js} +3 -3
- package/dist/{groundwaterProfileChart-BxJKIPXF.cjs → groundwaterProfileChart-D31MpfdN.cjs} +2 -2
- package/dist/{groundwaterTimeCurve-Bp5MxM9k.cjs → groundwaterTimeCurve-C65gdinn.cjs} +1 -1
- package/dist/{groundwaterTimeCurve-D-SdVYeq.js → groundwaterTimeCurve-CJgvt43Z.js} +3 -3
- package/dist/{groupCard-COMEkzIb.js → groupCard-BpjcijZW.js} +2 -2
- package/dist/{groupCard-BzUQ8xY0.cjs → groupCard-DNOawK4_.cjs} +1 -1
- package/dist/{headerBar-ouXO8bzC.js → headerBar-Bnv8ylmr.js} +2 -2
- package/dist/{headerBar-iFe0YQKE.cjs → headerBar-CNWKR951.cjs} +1 -1
- package/dist/{history-BZ869y2d.js → history-DdkBOj8L.js} +24 -24
- package/dist/{history-MxYUUwkm.cjs → history-xZTq1lUB.cjs} +1 -1
- package/dist/index-BzWbqJIl.cjs +612 -0
- package/dist/index-CJgyJTvc.cjs +11 -0
- package/dist/{index-DwPJu6XM.js → index-D5BukPPY.js} +1805 -1642
- package/dist/{index-ButoLLAe.js → index-eIsZnzkc.js} +2753 -2122
- package/dist/{insarDeformChart-5BhCUq8L.js → insarDeformChart-BKgJHbFe.js} +2 -2
- package/dist/{insarDeformChart-Ca3AMsBk.cjs → insarDeformChart-DIvxdDkN.cjs} +1 -1
- package/dist/{insarImageViewer-DWPsoHz6.cjs → insarImageViewer-Bray3mKg.cjs} +1 -1
- package/dist/{insarImageViewer-DHNxmLpa.js → insarImageViewer-qI5GBqkU.js} +2 -2
- package/dist/{install-FDYiy_gL.js → install-B_v5XJLG.js} +5 -5
- package/dist/{install-9_V0b6vf.js → install-BfNaEf5I.js} +24 -24
- package/dist/{install-B0x4IqQr.js → install-By9bYCXw.js} +11 -11
- package/dist/{install-hfre7yvV.js → install-CEl1AYgZ.js} +2 -2
- package/dist/{install-BzdOSCzO.js → install-CIdzgJ44.js} +109 -109
- package/dist/{install-oGjJ0_bF.js → install-CJ_UX-RT.js} +44 -44
- package/dist/{install-BifpoHNI.js → install-CY89Nrxl.js} +5 -5
- package/dist/{install-BUu5ESB7.js → install-Cmw0VV-B.js} +72 -72
- package/dist/{install-MS3ZY7fF.js → install-CqrIgcb1.js} +7 -7
- package/dist/{install-D1QM80AD.js → install-DNDCMXB3.js} +2 -2
- package/dist/install-DbAuuRVv.js +8 -0
- package/dist/{install-CBde4hAM.js → install-DdM8j5Ll.js} +1 -1
- package/dist/{install-B2TChEcT.js → install-DwcX1eNi.js} +4 -4
- package/dist/{install-C_3uGWLu.js → install-FXyLnlJE.js} +9 -9
- package/dist/{install-C9Cdzkc6.js → install-UooD2LwU.js} +29 -29
- package/dist/{install-Cx1i_m0k.js → install-ZJfH__Vo.js} +11 -11
- package/dist/{install-8XfFtnlL.js → install-uPZUxWT9.js} +19 -19
- package/dist/{installCanvasRenderer-CLT2hquJ.js → installCanvasRenderer-oDYkyVFy.js} +4 -4
- package/dist/{installMarkArea-Cdg4iciO.js → installMarkArea-DaDitBR7.js} +15 -15
- package/dist/{installMarkLine-BgE0YACE.js → installMarkLine-CHCnywAM.js} +10 -10
- package/dist/{installSimple-BWTCwMdY.js → installSimple-CB2Y4Ri7.js} +3 -3
- package/dist/{kds-Dpf_3WWj.cjs → kds-BibvGW1n.cjs} +1 -1
- package/dist/{kds-BYZC4pIM.js → kds-C1Chb0fa.js} +30 -30
- package/dist/{kpiCard-CStPtl-c.js → kpiCard-KuMZjN55.js} +2 -2
- package/dist/{kpiCard-OLJgA48-.cjs → kpiCard-tnfcEXOn.cjs} +1 -1
- package/dist/{labelHelper-Cd8oB-sZ.js → labelHelper-DccEpjmd.js} +1 -1
- package/dist/{landslideMap-BUq0x7rd.js → landslideMap-B4vzymkZ.js} +15 -15
- package/dist/{landslideMap-JTdoQjW-.cjs → landslideMap-DlMSDibx.cjs} +1 -1
- package/dist/{landslideWarning-VAn9XGUj.js → landslideWarning-BYlaEzUr.js} +5 -5
- package/dist/{landslideWarning-ZA5LCsIr.cjs → landslideWarning-DtOMb7U_.cjs} +1 -1
- package/dist/{layerTabs-CAJ6f-2W.js → layerTabs-BG0gTvo8.js} +2 -2
- package/dist/{layerTabs-CdhowHB1.cjs → layerTabs-DQm_b2aH.cjs} +1 -1
- package/dist/{leaflet-src-DNO2-OsP.js → leaflet-src-DVXepwmU.js} +1 -1
- package/dist/{leaflet-src-CxFQ_Cn7.cjs → leaflet-src-qPfpknMO.cjs} +1 -1
- package/dist/{lerc-qU4WKXeS.cjs → lerc-CITZZDb7.cjs} +1 -1
- package/dist/{lerc-bF2jqjoV.js → lerc-Z6kWrF7V.js} +2 -2
- package/dist/{lin-BHI2KgyW.cjs → lin-CW8Q8u-z.cjs} +1 -1
- package/dist/{lin-DbQw7wZw.js → lin-zJYjIE2f.js} +11 -11
- package/dist/{linIndass-Cd9Hjzs_.js → linIndass-27mWriLs.js} +16 -16
- package/dist/{linIndass-CIrObeZT.cjs → linIndass-CQaikC7I.cjs} +1 -1
- package/dist/{lst-C3C2m1v_.js → lst-BqXNkXrQ.js} +2 -2
- package/dist/{lst-BRsEe-Hq.cjs → lst-Cu-ohx2m.cjs} +1 -1
- package/dist/{manualEntry-B8TDMcDg.js → manualEntry-BPEmSok7.js} +2 -2
- package/dist/{manualEntry-C3_WtYz8.cjs → manualEntry-zj6TEXL7.cjs} +1 -1
- package/dist/{mapBackground-BrVIQUcT.js → mapBackground-BhcSOZ_h.js} +3 -3
- package/dist/{mapBackground-Du7R_ICY.cjs → mapBackground-CRI873EC.cjs} +1 -1
- package/dist/{mappingList-BpJUawmv.js → mappingList-CvG8EIIC.js} +2 -2
- package/dist/{mappingList-C5OZ8oUx.cjs → mappingList-DGgPl4t4.cjs} +1 -1
- package/dist/{markdownViewer-CoRrvdY7.js → markdownViewer-D9JqGyeI.js} +6 -6
- package/dist/{markdownViewer-D96bwxEt.cjs → markdownViewer-DvbUv7kn.cjs} +1 -1
- package/dist/mix-control-modal-DaRWnX3S.js +160 -0
- package/dist/mix-control-modal-DpAs-GHi.cjs +1 -0
- package/dist/{mixGrid-Hj0OJjkg.cjs → mixGrid-CHne1dXO.cjs} +1 -1
- package/dist/{mixGrid-CtJWul6c.js → mixGrid-FBiMFT4V.js} +4 -4
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BwIQvSS-.js +67 -0
- package/dist/mixiotObjectListApi-ClirV2tM.cjs +1 -0
- package/dist/{mjpegCamera-Dc4IsJA6.js → mjpegCamera-D2quqZNc.js} +2 -2
- package/dist/{mjpegCamera-BY7pmbDc.cjs → mjpegCamera-D32gJ5oN.cjs} +1 -1
- package/dist/{monitorAlert-DVNvJyTy.cjs → monitorAlert-CxC81qAu.cjs} +1 -1
- package/dist/{monitorAlert-F8QFOchR.js → monitorAlert-D4qszzHh.js} +12 -12
- package/dist/{monitorData-AkPbhJ9q.cjs → monitorData-CVkL2ukF.cjs} +1 -1
- package/dist/{monitorData-BzqNIdrW.js → monitorData-DnWDsgTT.js} +13 -13
- package/dist/{monitorSpeedChart-348U37LW.js → monitorSpeedChart-CHpQsrDt.js} +3 -3
- package/dist/{monitorSpeedChart-DVH1xihw.cjs → monitorSpeedChart-CKxwWE0i.cjs} +1 -1
- package/dist/{mxa-CkJjCHA-.js → mxa-Cbnwonqc.js} +7 -7
- package/dist/{mxa-DShU528J.cjs → mxa-UU7rQDd8.cjs} +1 -1
- package/dist/{myValue-CEfp19i2.js → myValue-DBxx1jtk.js} +2 -2
- package/dist/{myValue-BCeycpdO.cjs → myValue-DzARZpdg.cjs} +1 -1
- package/dist/{myValueList-CAPOW8TK.cjs → myValueList-BVbeDsWn.cjs} +1 -1
- package/dist/{myValueList-y3GR4AX2.js → myValueList-BbtPVr5y.js} +2 -2
- package/dist/{objectList-D16yLbzD.js → objectList-Cpu0yqsK.js} +4 -4
- package/dist/{objectList-4rYQk5uq.cjs → objectList-D5E8PU66.cjs} +1 -1
- package/dist/objectListAPP-CYxy9UjL.js +2247 -0
- package/dist/objectListAPP-Cr4uoJuN.cjs +1 -0
- package/dist/{photo-D67wLRkY.cjs → photo-BRMACjXO.cjs} +1 -1
- package/dist/{photo-BV6rkbWO.js → photo-DPOhq559.js} +2 -2
- package/dist/{pie-BeRwVkTk.cjs → pie-B7HO9F24.cjs} +1 -1
- package/dist/{pie-bNKhq6ak.js → pie-CUqy6VGE.js} +10 -10
- package/dist/{placeholder-zByzfWaH.cjs → placeholder-D-BpaT59.cjs} +1 -1
- package/dist/{placeholder-_iK4rVyU.js → placeholder-DsyLsZM5.js} +1 -1
- package/dist/{points-DkG9FRF9.js → points-Cddz0rX-.js} +15 -15
- package/dist/{pressBtn-BjqYIPC-.cjs → pressBtn-DZz7PZ7o.cjs} +1 -1
- package/dist/{pressBtn-B-rZPXK2.js → pressBtn-IefW25bT.js} +138 -108
- package/dist/{processTable-s_y8uups.js → processTable-Bm2HnUrZ.js} +2 -2
- package/dist/{processTable-ByPlSKRJ.cjs → processTable-kVFr2ntb.cjs} +1 -1
- package/dist/{progressBar-CRdA7oJT.cjs → progressBar-00yP_jc2.cjs} +1 -1
- package/dist/{progressBar-DskxZk1P.js → progressBar-C7RKpdcE.js} +37 -29
- package/dist/{progressCircle-BE_Am-AP.js → progressCircle-BBkwMkI0.js} +47 -39
- package/dist/{progressCircle-CHe-12Hb.cjs → progressCircle-CzqibMlZ.cjs} +1 -1
- package/dist/{qrcode-D8cFyUpL.cjs → qrcode-4NUAsx0h.cjs} +1 -1
- package/dist/{qrcode-Dgth6KwU.js → qrcode-DaHlY7Vv.js} +2 -2
- package/dist/raceBar-BVsHg94d.cjs +2 -0
- package/dist/{raceBar-DV-3KFg2.js → raceBar-WhOgwnlP.js} +116 -120
- package/dist/{rad-BhsfF0XI.js → rad-BlEn2Yx1.js} +6 -6
- package/dist/{rad-BerkC70H.cjs → rad-sMtJPs8L.cjs} +1 -1
- package/dist/{radarMapViewer-C2dde8EN.js → radarMapViewer-C1_FFYFi.js} +2 -2
- package/dist/{radarMapViewer-HWzvBTzT.cjs → radarMapViewer-CzhHFpRX.cjs} +1 -1
- package/dist/{rainfallFilterBar-CiT1mvYh.js → rainfallFilterBar-Bt2TbXV6.js} +2 -2
- package/dist/{rainfallFilterBar-kuAQO0M-.cjs → rainfallFilterBar-F7DU_nqK.cjs} +1 -1
- package/dist/{rainfallTimeCurve-BlOnCq2M.js → rainfallTimeCurve-C5tBf1lx.js} +3 -3
- package/dist/{rainfallTimeCurve-7uHaSkuE.cjs → rainfallTimeCurve-DaXSW7dI.cjs} +1 -1
- package/dist/{rangeLin-BvKd8kEv.js → rangeLin-Bral8Ev4.js} +16 -16
- package/dist/{rangeLin-BQeWFL_E.cjs → rangeLin-Cr4NRYc9.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-BUnD3JjE.cjs → realtimeEvolutionMap-CCisvZz8.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-DZ6yniwl.js → realtimeEvolutionMap-xJwuPatp.js} +2 -2
- package/dist/{regionBar-mMaN5NEc.cjs → regionBar-C8myvRfQ.cjs} +1 -1
- package/dist/{regionBar-vp5D52Jd.js → regionBar-D1iKcs2-.js} +2 -2
- package/dist/{request-CMbwWTDF.js → request-C-rUicMg.js} +5 -5
- package/dist/{request-DegEaaCG.cjs → request-Cxljxwu9.cjs} +1 -1
- package/dist/{retainer1-Xvdlh-B_.js → retainer1-BvzeaTtU.js} +84 -76
- package/dist/retainer1-CC6TO-vq.cjs +1 -0
- package/dist/{retainer2-D3a-c_BA.js → retainer2-BeakFCgo.js} +101 -93
- package/dist/retainer2-CmdgkB1y.cjs +1 -0
- package/dist/{retainerRecordList-BJbPsJ4D.js → retainerRecordList-C7lDliOb.js} +2 -2
- package/dist/{retainerRecordList-Rqnoz6_6.cjs → retainerRecordList-C9xVt3Yk.cjs} +1 -1
- package/dist/retainerRecordListAPP-BRmG7UnF.cjs +1 -0
- package/dist/{retainerRecordListAPP-CNntGyA-.js → retainerRecordListAPP-Cjip5JHS.js} +44 -42
- package/dist/{ringTopN-BFKlXqGX.js → ringTopN-BaKY-79s.js} +5 -5
- package/dist/{ringTopN-CsouIsk1.cjs → ringTopN-Wfvu1-jE.cjs} +1 -1
- package/dist/{riskRegionTable-DttMvHe5.cjs → riskRegionTable-C7ee9wQX.cjs} +1 -1
- package/dist/{riskRegionTable-B6k4uM0_.js → riskRegionTable-ovBbwMl2.js} +2 -2
- package/dist/{sankey-CAuBQaYh.cjs → sankey-BmWOGLSZ.cjs} +1 -1
- package/dist/{sankey-DEQK7uU6.js → sankey-K5BLueeX.js} +7 -7
- package/dist/{sausage-xU3hOdxD.js → sausage-DTfIyvVP.js} +1 -1
- package/dist/{scd-qaap6hGW.cjs → scd-CCNgUI2Q.cjs} +1 -1
- package/dist/{scd-D5TicpCZ.js → scd-CMVoKjwE.js} +2 -2
- package/dist/{sectorHelper-DIlWFMnU.js → sectorHelper-Ba-1dnRr.js} +1 -1
- package/dist/{sideMenu-D-73DoYb.cjs → sideMenu-BbiMVHw1.cjs} +1 -1
- package/dist/{sideMenu-ByyrOOYh.js → sideMenu-L_dYXVgD.js} +2 -2
- package/dist/{slopeStability-CTN6Kpva.cjs → slopeStability-BWVxuRRV.cjs} +1 -1
- package/dist/{slopeStability-BtgMH3oW.js → slopeStability-WUcwG1vB.js} +22 -22
- package/dist/{speedCurve-C5NoQCjK.cjs → speedCurve-QTXe81e1.cjs} +1 -1
- package/dist/{speedCurve-CInn7NAC.js → speedCurve-uwPuIJp0.js} +4 -4
- package/dist/{stressFilterBar-D_QqOHna.js → stressFilterBar-CnFNp7BR.js} +2 -2
- package/dist/{stressFilterBar-Cpfbmllu.cjs → stressFilterBar-DcqWlqsx.cjs} +1 -1
- package/dist/{stressTimeCurve-Bp6Cevk1.cjs → stressTimeCurve-C-qycuZ2.cjs} +1 -1
- package/dist/{stressTimeCurve-1HXHUj-F.js → stressTimeCurve-C3r3LUBt.js} +3 -3
- package/dist/{swiper-D_y4Fj_D.js → swiper-JShIvM0E.js} +2 -2
- package/dist/{swiper-B8YZ2VQ2.cjs → swiper-wWrsPbDA.cjs} +1 -1
- package/dist/{terminalConfigList-CHbA4y-S.js → terminalConfigList-DVhEvcTB.js} +2 -2
- package/dist/{terminalConfigList-B39cEptG.cjs → terminalConfigList-nQqB1W5s.cjs} +1 -1
- package/dist/terminalList-BkMuHXZw.cjs +1 -0
- package/dist/{terminalList-oJFrGVtT.js → terminalList-wAz6t4Ib.js} +77 -77
- package/dist/terminalListAPP-CePxWgcL.cjs +1 -0
- package/dist/terminalListAPP-DuLN2OVq.js +1935 -0
- package/dist/{textbox-DPoyxB4u.cjs → textbox-BBi-Lg1Z.cjs} +1 -1
- package/dist/{textbox-D8nmoGjG.js → textbox-DxXuhIyj.js} +2 -2
- package/dist/{timeQueryBar-uUGotoTx.cjs → timeQueryBar-BCTeL04F.cjs} +1 -1
- package/dist/{timeQueryBar-DyC0iHq9.js → timeQueryBar-DtngkLJX.js} +1 -1
- package/dist/{timeSeries-U91gMDDQ.js → timeSeries-CrdyAYs2.js} +3 -3
- package/dist/{timeSeries-BhlqgEOq.cjs → timeSeries-DJZnExBA.cjs} +1 -1
- package/dist/{timeSeriesCurve-DOhIS88N.js → timeSeriesCurve-8_exdGlQ.js} +3 -3
- package/dist/{timeSeriesCurve-CiRMnZRD.cjs → timeSeriesCurve-8_n0JJyf.cjs} +1 -1
- package/dist/{toggleBtn-CuWwHFjD.cjs → toggleBtn-B6dJ5cAt.cjs} +1 -1
- package/dist/{toggleBtn-DE35dkxx.js → toggleBtn-DExYfMvi.js} +7 -7
- package/dist/{trajectoryConfigPanel-DAbF8oE9.cjs → trajectoryConfigPanel-B2fwoe-I.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-Ye7NY6rd.js → trajectoryConfigPanel-Ce1SoMtw.js} +1 -1
- package/dist/{trajectoryScatter-Dg99HzM3.cjs → trajectoryScatter-CVLEXMPO.cjs} +1 -1
- package/dist/{trajectoryScatter-DL7HUNJI.js → trajectoryScatter-h32teAQ0.js} +6 -6
- package/dist/{universalConfigPanel-CkyIDl_x.js → universalConfigPanel-CxbrIc2Z.js} +1 -1
- package/dist/{universalConfigPanel-1svBCvD9.cjs → universalConfigPanel-cRzJmx3l.cjs} +1 -1
- package/dist/{universalTable--dpnyNO2.js → universalTable-BssAi-QH.js} +2 -2
- package/dist/{universalTable-D8w7FQbl.cjs → universalTable-V604pFVr.cjs} +1 -1
- package/dist/{universalTransition-Bv7ibBUh.js → universalTransition-tYQs2a4D.js} +2 -2
- package/dist/{video-RGIZoUn6.cjs → video-B8JeGpBc.cjs} +1 -1
- package/dist/{video-BmMSRRa_.js → video-BjmIbrRS.js} +2 -2
- package/dist/{videoMonitor-Bo5T0MT_.cjs → videoMonitor-B6FzkJlS.cjs} +1 -1
- package/dist/{videoMonitor-uf6tt2E6.js → videoMonitor-CVkFwlZq.js} +4 -4
- package/dist/{vlu-D8l5zE_P.js → vlu-CHHDngO6.js} +2 -2
- package/dist/{vlu-DEo_h1qN.cjs → vlu-Dv1vt9r0.cjs} +1 -1
- package/dist/{warningOverview-A5AA_vCc.cjs → warningOverview-4M-WX3Ob.cjs} +1 -1
- package/dist/{warningOverview-CA0PikjV.js → warningOverview-DDOm2wwB.js} +3 -3
- package/dist/{weather-D20MGzuJ.cjs → weather-BGrOQFPM.cjs} +1 -1
- package/dist/{weather-DuseqeNF.js → weather-CETxcsJS.js} +2 -2
- package/dist/{windLin-D8AUL_dV.js → windLin-B3YXltBn.js} +10 -10
- package/dist/{windLin-BU6Q87dE.cjs → windLin-B6uEtUnB.cjs} +1 -1
- package/package.json +1 -1
- package/dist/BaseComponent-Chnv4fBT.cjs +0 -1
- package/dist/bar-C38h_mUA.js +0 -246
- package/dist/bar-Cru6WosS.cjs +0 -2
- package/dist/bmp-BXaEkkpa.cjs +0 -1
- package/dist/bmp-BnSOaFEr.js +0 -226
- package/dist/clt-CmPPtp9c.cjs +0 -1
- package/dist/clt-D5i_8-pq.js +0 -293
- package/dist/cmc-8jH3DGv9.cjs +0 -1
- package/dist/cmp-CpmGtNal.cjs +0 -6
- package/dist/composite-CbsUYl-u.js +0 -136
- package/dist/composite-Cf24lSyN.cjs +0 -1
- package/dist/composite-CsFgfxih.js +0 -323
- package/dist/composite-DLmzZNIj.cjs +0 -3
- package/dist/ctrBtn-OOgL9esv.cjs +0 -1
- package/dist/ctrSet-Btg2T9w6.js +0 -247
- package/dist/ctrSet-CifyJt05.cjs +0 -1
- package/dist/ctrSwitch-C8mwxLPe.cjs +0 -1
- package/dist/ele-cmp-icon-CEP91RUe.js +0 -5
- package/dist/ele-cmp-icon-yUlU6c_Q.cjs +0 -1
- package/dist/gag-1bvAZ5m6.cjs +0 -1
- package/dist/gag-D2obj7AF.js +0 -160
- package/dist/index-DVqMfQVc.cjs +0 -612
- package/dist/index-mAPVa0s4.cjs +0 -11
- package/dist/install-BBrAry2m.js +0 -8
- package/dist/install-BRjgycz_.cjs +0 -1
- package/dist/install-BamnGDPb.cjs +0 -1
- package/dist/install-D7znHb-b.js +0 -604
- package/dist/install-DWm3j_D3.js +0 -38
- package/dist/mix-control-modal-DwxwW65v.cjs +0 -1
- package/dist/mix-control-modal-Qg_mzyT_.js +0 -145
- package/dist/mixMap-CJzmC0IR.cjs +0 -1
- package/dist/mixMap-E36SDnEa.js +0 -258
- package/dist/mixModel-BMRxhvWn.cjs +0 -3
- package/dist/mixModel-_McJ6OuH.js +0 -251
- package/dist/mixPie-CMOkAe9p.js +0 -168
- package/dist/mixPie-MAKXeYVp.cjs +0 -2
- package/dist/mixiotObjectListApi-BaeBL318.js +0 -82
- package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +0 -1
- package/dist/no-image-icon-CPA7RKkF.cjs +0 -1
- package/dist/no-image-icon-n2ZlEjxS.js +0 -1864
- package/dist/objectListAPP-DCwTyqFp.js +0 -1864
- package/dist/objectListAPP-Db5beOAM.cjs +0 -1
- package/dist/raceBar-CeybrpCB.cjs +0 -4
- package/dist/retainer1-CF2Tr7Zt.cjs +0 -1
- package/dist/retainer2-BQVUhgcH.cjs +0 -1
- package/dist/retainerRecordListAPP-B4IDQK3C.cjs +0 -1
- package/dist/staticLine-BC-zj5yZ.cjs +0 -1
- package/dist/staticLine-CLqN4lpU.js +0 -362
- package/dist/terminalList-Vf-Dbybr.cjs +0 -1
- package/dist/terminalListAPP-CdBG8krw.cjs +0 -1
- package/dist/terminalListAPP-DWArp2D4.js +0 -1366
|
@@ -1,1864 +0,0 @@
|
|
|
1
|
-
import { openBlock as H, createElementBlock as W, normalizeStyle as st, normalizeClass as lt, createCommentVNode as ht, renderSlot as Q } from "vue";
|
|
2
|
-
const q = 3.141592653589793 * 3e3 / 180, T = 3.141592653589793, U = 6378245, $ = 0.006693421622965943;
|
|
3
|
-
function ut(t, l) {
|
|
4
|
-
var n = Math.sqrt(t * t + l * l) + 2e-5 * Math.sin(l * q), c = Math.atan2(l, t) + 3e-6 * Math.cos(t * q), y = n * Math.cos(c) + 65e-4, m = n * Math.sin(c) + 6e-3;
|
|
5
|
-
return [y, m];
|
|
6
|
-
}
|
|
7
|
-
function pt(t, l) {
|
|
8
|
-
if (ft(t, l))
|
|
9
|
-
return [t, l];
|
|
10
|
-
{
|
|
11
|
-
var n = dt(t - 105, l - 35), c = ct(t - 105, l - 35), y = l / 180 * T, m = Math.sin(y);
|
|
12
|
-
m = 1 - $ * m * m;
|
|
13
|
-
var e = Math.sqrt(m);
|
|
14
|
-
n = n * 180 / (U * (1 - $) / (m * e) * T), c = c * 180 / (U / e * Math.cos(y) * T);
|
|
15
|
-
const s = l + n;
|
|
16
|
-
return [t + c, s];
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
function At(t, l) {
|
|
20
|
-
const n = pt(t, l);
|
|
21
|
-
return ut(n[0], n[1]);
|
|
22
|
-
}
|
|
23
|
-
function dt(t, l) {
|
|
24
|
-
var n = -100 + 2 * t + 3 * l + 0.2 * l * l + 0.1 * t * l + 0.2 * Math.sqrt(Math.abs(t));
|
|
25
|
-
return n += (20 * Math.sin(6 * t * T) + 20 * Math.sin(2 * t * T)) * 2 / 3, n += (20 * Math.sin(l * T) + 40 * Math.sin(l / 3 * T)) * 2 / 3, n += (160 * Math.sin(l / 12 * T) + 320 * Math.sin(l * T / 30)) * 2 / 3, n;
|
|
26
|
-
}
|
|
27
|
-
function ct(t, l) {
|
|
28
|
-
var n = 300 + t + 2 * l + 0.1 * t * t + 0.1 * t * l + 0.1 * Math.sqrt(Math.abs(t));
|
|
29
|
-
return n += (20 * Math.sin(6 * t * T) + 20 * Math.sin(2 * t * T)) * 2 / 3, n += (20 * Math.sin(t * T) + 40 * Math.sin(t / 3 * T)) * 2 / 3, n += (150 * Math.sin(t / 12 * T) + 300 * Math.sin(t / 30 * T)) * 2 / 3, n;
|
|
30
|
-
}
|
|
31
|
-
function ft(t, l) {
|
|
32
|
-
return t < 72.004 || t > 137.8347 || l < 0.8293 || l > 55.8271 || !1;
|
|
33
|
-
}
|
|
34
|
-
var gt = {
|
|
35
|
-
"bm-map": [
|
|
36
|
-
"click",
|
|
37
|
-
"dblclick",
|
|
38
|
-
"rightclick",
|
|
39
|
-
"rightdblclick",
|
|
40
|
-
"maptypechange",
|
|
41
|
-
"mousemove",
|
|
42
|
-
"mouseover",
|
|
43
|
-
"mouseout",
|
|
44
|
-
"movestart",
|
|
45
|
-
"moving",
|
|
46
|
-
"moveend",
|
|
47
|
-
"zoomstart",
|
|
48
|
-
"zoomend",
|
|
49
|
-
"addoverlay",
|
|
50
|
-
"addcontrol",
|
|
51
|
-
"removecontrol",
|
|
52
|
-
"removeoverlay",
|
|
53
|
-
"clearoverlays",
|
|
54
|
-
"dragstart",
|
|
55
|
-
"dragging",
|
|
56
|
-
"dragend",
|
|
57
|
-
"addtilelayer",
|
|
58
|
-
"removetilelayer",
|
|
59
|
-
"load",
|
|
60
|
-
"resize",
|
|
61
|
-
"hotspotclick",
|
|
62
|
-
"hotspotover",
|
|
63
|
-
"hotspotout",
|
|
64
|
-
"tilesloaded",
|
|
65
|
-
"touchstart",
|
|
66
|
-
"touchmove",
|
|
67
|
-
"touchend",
|
|
68
|
-
"longpress"
|
|
69
|
-
],
|
|
70
|
-
"bm-geolocation": [
|
|
71
|
-
"locationSuccess",
|
|
72
|
-
"locationError"
|
|
73
|
-
],
|
|
74
|
-
"bm-overview-map": [
|
|
75
|
-
"viewchanged",
|
|
76
|
-
"viewchanging"
|
|
77
|
-
],
|
|
78
|
-
"bm-marker": [
|
|
79
|
-
"click",
|
|
80
|
-
"dblclick",
|
|
81
|
-
"mousedown",
|
|
82
|
-
"mouseup",
|
|
83
|
-
"mouseout",
|
|
84
|
-
"mouseover",
|
|
85
|
-
"remove",
|
|
86
|
-
"infowindowclose",
|
|
87
|
-
"infowindowopen",
|
|
88
|
-
"dragstart",
|
|
89
|
-
"dragging",
|
|
90
|
-
"dragend",
|
|
91
|
-
"rightclick"
|
|
92
|
-
],
|
|
93
|
-
"bm-polyline": [
|
|
94
|
-
"click",
|
|
95
|
-
"dblclick",
|
|
96
|
-
"mousedown",
|
|
97
|
-
"mouseup",
|
|
98
|
-
"mouseout",
|
|
99
|
-
"mouseover",
|
|
100
|
-
"remove",
|
|
101
|
-
"lineupdate"
|
|
102
|
-
],
|
|
103
|
-
"bm-polygon": [
|
|
104
|
-
"click",
|
|
105
|
-
"dblclick",
|
|
106
|
-
"mousedown",
|
|
107
|
-
"mouseup",
|
|
108
|
-
"mouseout",
|
|
109
|
-
"mouseover",
|
|
110
|
-
"remove",
|
|
111
|
-
"lineupdate"
|
|
112
|
-
],
|
|
113
|
-
"bm-circle": [
|
|
114
|
-
"click",
|
|
115
|
-
"dblclick",
|
|
116
|
-
"mousedown",
|
|
117
|
-
"mouseup",
|
|
118
|
-
"mouseout",
|
|
119
|
-
"mouseover",
|
|
120
|
-
"remove",
|
|
121
|
-
"lineupdate"
|
|
122
|
-
],
|
|
123
|
-
"bm-label": [
|
|
124
|
-
"click",
|
|
125
|
-
"dblclick",
|
|
126
|
-
"mousedown",
|
|
127
|
-
"mouseup",
|
|
128
|
-
"mouseout",
|
|
129
|
-
"mouseover",
|
|
130
|
-
"remove",
|
|
131
|
-
"rightclick"
|
|
132
|
-
],
|
|
133
|
-
"bm-info-window": [
|
|
134
|
-
"close",
|
|
135
|
-
"open",
|
|
136
|
-
"maximize",
|
|
137
|
-
"restore",
|
|
138
|
-
"clickclose"
|
|
139
|
-
],
|
|
140
|
-
"bm-ground": [
|
|
141
|
-
"click",
|
|
142
|
-
"dblclick"
|
|
143
|
-
],
|
|
144
|
-
"bm-autocomplete": [
|
|
145
|
-
"onconfirm",
|
|
146
|
-
"onhighlight"
|
|
147
|
-
],
|
|
148
|
-
"bm-point-collection": [
|
|
149
|
-
"click",
|
|
150
|
-
"mouseover",
|
|
151
|
-
"mouseout"
|
|
152
|
-
]
|
|
153
|
-
};
|
|
154
|
-
function nt(t, l) {
|
|
155
|
-
const n = l || gt[this.$options.name];
|
|
156
|
-
n && n.forEach((c) => {
|
|
157
|
-
let m = c.slice(0, 2) === "on" ? c.slice(2) : c;
|
|
158
|
-
const e = this.$attrs["on" + m.replace(m[0], m[0].toUpperCase())];
|
|
159
|
-
e && t.addEventListener(c, e);
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
function G(t, l = {}) {
|
|
163
|
-
const { lng: n, lat: c } = l;
|
|
164
|
-
return new t.Point(n, c);
|
|
165
|
-
}
|
|
166
|
-
function E(t, l = {}) {
|
|
167
|
-
const { width: n, height: c } = l;
|
|
168
|
-
return new t.Size(n, c);
|
|
169
|
-
}
|
|
170
|
-
function tt(t, l = {}) {
|
|
171
|
-
const { url: n, size: c, opts: y = {} } = l;
|
|
172
|
-
let m = {
|
|
173
|
-
anchor: y.anchor && E(t, y.anchor),
|
|
174
|
-
imageSize: y.imageSize && E(t, y.imageSize),
|
|
175
|
-
imageOffset: y.imageOffset && E(t, y.imageOffset),
|
|
176
|
-
infoWindowAnchor: y.infoWindowAnchor && E(t, y.infoWindowAnchor),
|
|
177
|
-
printImageUrl: y.printImageUrl
|
|
178
|
-
};
|
|
179
|
-
return X(m), new t.Icon(n, E(t, c), m);
|
|
180
|
-
}
|
|
181
|
-
function mt(t, l = {}) {
|
|
182
|
-
const { content: n, opts: c } = l;
|
|
183
|
-
let y = {
|
|
184
|
-
offset: c.offset && E(t, c.offset),
|
|
185
|
-
position: c.position && G(t, c.position),
|
|
186
|
-
enableMassClear: c.enableMassClear
|
|
187
|
-
};
|
|
188
|
-
return X(y), new t.Label(n, y);
|
|
189
|
-
}
|
|
190
|
-
const et = (t) => Object.prototype.toString.call(t).slice(8, -1), X = (t) => {
|
|
191
|
-
Object.keys(t).forEach((l) => {
|
|
192
|
-
typeof t[l] == "undefined" && delete t[l];
|
|
193
|
-
});
|
|
194
|
-
};
|
|
195
|
-
let F = {
|
|
196
|
-
v: "3.0",
|
|
197
|
-
type: "API"
|
|
198
|
-
};
|
|
199
|
-
const vt = (t = {}) => {
|
|
200
|
-
F = Object.assign(F, t), F.ak || console.error("请配置ak:百度地图开发者平台申请的密钥");
|
|
201
|
-
}, D = () => F;
|
|
202
|
-
var N = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, Y = { exports: {} };
|
|
203
|
-
function K() {
|
|
204
|
-
}
|
|
205
|
-
K.prototype = {
|
|
206
|
-
on: function(t, l, n) {
|
|
207
|
-
var c = this.e || (this.e = {});
|
|
208
|
-
return (c[t] || (c[t] = [])).push({
|
|
209
|
-
fn: l,
|
|
210
|
-
ctx: n
|
|
211
|
-
}), this;
|
|
212
|
-
},
|
|
213
|
-
once: function(t, l, n) {
|
|
214
|
-
var c = this;
|
|
215
|
-
function y() {
|
|
216
|
-
c.off(t, y), l.apply(n, arguments);
|
|
217
|
-
}
|
|
218
|
-
return y._ = l, this.on(t, y, n);
|
|
219
|
-
},
|
|
220
|
-
emit: function(t) {
|
|
221
|
-
var l = [].slice.call(arguments, 1), n = ((this.e || (this.e = {}))[t] || []).slice(), c = 0, y = n.length;
|
|
222
|
-
for (c; c < y; c++)
|
|
223
|
-
n[c].fn.apply(n[c].ctx, l);
|
|
224
|
-
return this;
|
|
225
|
-
},
|
|
226
|
-
off: function(t, l) {
|
|
227
|
-
var n = this.e || (this.e = {}), c = n[t], y = [];
|
|
228
|
-
if (c && l)
|
|
229
|
-
for (var m = 0, e = c.length; m < e; m++)
|
|
230
|
-
c[m].fn !== l && c[m].fn._ !== l && y.push(c[m]);
|
|
231
|
-
return y.length ? n[t] = y : delete n[t], this;
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
Y.exports = K;
|
|
235
|
-
Y.exports.TinyEmitter = K;
|
|
236
|
-
var yt = Y.exports, R = new yt(), A = {
|
|
237
|
-
$on: (...t) => R.on(...t),
|
|
238
|
-
$once: (...t) => R.once(...t),
|
|
239
|
-
$off: (...t) => R.off(...t),
|
|
240
|
-
$emit: (...t) => R.emit(...t)
|
|
241
|
-
};
|
|
242
|
-
const it = {
|
|
243
|
-
API: {
|
|
244
|
-
"2.0": {
|
|
245
|
-
setMapStyle: "setMapStyle",
|
|
246
|
-
NavigationControl: "NavigationControl"
|
|
247
|
-
},
|
|
248
|
-
"3.0": {
|
|
249
|
-
setMapStyle: "setMapStyleV2",
|
|
250
|
-
NavigationControl: "NavigationControl"
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
WebGL: {
|
|
254
|
-
setMapStyle: "setMapStyleV2",
|
|
255
|
-
NavigationControl: "NavigationControl3D"
|
|
256
|
-
}
|
|
257
|
-
}, j = (t) => {
|
|
258
|
-
const l = D();
|
|
259
|
-
return l.type == "WebGL" ? it[l.type][t] : it[l.type][l.v][t];
|
|
260
|
-
};
|
|
261
|
-
let rt;
|
|
262
|
-
new Promise((t) => {
|
|
263
|
-
rt = t;
|
|
264
|
-
});
|
|
265
|
-
var V = (t, l) => {
|
|
266
|
-
const n = t.__vccOpts || t;
|
|
267
|
-
for (const [c, y] of l)
|
|
268
|
-
n[c] = y;
|
|
269
|
-
return n;
|
|
270
|
-
};
|
|
271
|
-
const _t = {
|
|
272
|
-
name: "bm-map",
|
|
273
|
-
inheritAttrs: !1,
|
|
274
|
-
emits: ["ready", "init", "animationed"],
|
|
275
|
-
props: {
|
|
276
|
-
ak: {
|
|
277
|
-
type: String
|
|
278
|
-
},
|
|
279
|
-
v: {
|
|
280
|
-
type: String
|
|
281
|
-
},
|
|
282
|
-
type: {
|
|
283
|
-
type: String
|
|
284
|
-
},
|
|
285
|
-
center: {
|
|
286
|
-
type: [Object, String]
|
|
287
|
-
},
|
|
288
|
-
zoom: {
|
|
289
|
-
type: Number
|
|
290
|
-
},
|
|
291
|
-
minZoom: {
|
|
292
|
-
type: Number
|
|
293
|
-
},
|
|
294
|
-
maxZoom: {
|
|
295
|
-
type: Number
|
|
296
|
-
},
|
|
297
|
-
highResolution: {
|
|
298
|
-
type: Boolean,
|
|
299
|
-
default: !0
|
|
300
|
-
},
|
|
301
|
-
mapClick: {
|
|
302
|
-
type: Boolean,
|
|
303
|
-
default: !0
|
|
304
|
-
},
|
|
305
|
-
mapType: {
|
|
306
|
-
type: String
|
|
307
|
-
},
|
|
308
|
-
dragging: {
|
|
309
|
-
type: Boolean,
|
|
310
|
-
default: !0
|
|
311
|
-
},
|
|
312
|
-
scrollWheelZoom: {
|
|
313
|
-
type: Boolean,
|
|
314
|
-
default: !1
|
|
315
|
-
},
|
|
316
|
-
doubleClickZoom: {
|
|
317
|
-
type: Boolean,
|
|
318
|
-
default: !0
|
|
319
|
-
},
|
|
320
|
-
keyboard: {
|
|
321
|
-
type: Boolean,
|
|
322
|
-
default: !0
|
|
323
|
-
},
|
|
324
|
-
inertialDragging: {
|
|
325
|
-
type: Boolean,
|
|
326
|
-
default: !0
|
|
327
|
-
},
|
|
328
|
-
continuousZoom: {
|
|
329
|
-
type: Boolean,
|
|
330
|
-
default: !0
|
|
331
|
-
},
|
|
332
|
-
pinchToZoom: {
|
|
333
|
-
type: Boolean,
|
|
334
|
-
default: !0
|
|
335
|
-
},
|
|
336
|
-
autoResize: {
|
|
337
|
-
type: Boolean,
|
|
338
|
-
default: !0
|
|
339
|
-
},
|
|
340
|
-
theme: {
|
|
341
|
-
type: Array
|
|
342
|
-
},
|
|
343
|
-
mapStyle: {
|
|
344
|
-
type: Object
|
|
345
|
-
},
|
|
346
|
-
hasAnimation: {
|
|
347
|
-
type: Boolean,
|
|
348
|
-
default: !0
|
|
349
|
-
},
|
|
350
|
-
defaultAnimation: {
|
|
351
|
-
type: Boolean,
|
|
352
|
-
default: !0
|
|
353
|
-
},
|
|
354
|
-
preserveDrawingBuffer: {
|
|
355
|
-
type: Boolean,
|
|
356
|
-
default: !1
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
watch: {
|
|
360
|
-
center(t, l) {
|
|
361
|
-
const { map: n, zoom: c } = this;
|
|
362
|
-
et(t) === "String" && t !== l && this.setCenterZoom(n, t, c);
|
|
363
|
-
},
|
|
364
|
-
"center.lng"(t, l) {
|
|
365
|
-
const { BMap: n, map: c, zoom: y, center: m } = this;
|
|
366
|
-
t !== l && t >= -180 && t <= 180 && this.setCenterZoom(c, new n.Point(t, m.lat), y);
|
|
367
|
-
},
|
|
368
|
-
"center.lat"(t, l) {
|
|
369
|
-
const { BMap: n, map: c, zoom: y, center: m } = this;
|
|
370
|
-
t !== l && t >= -74 && t <= 74 && this.setCenterZoom(c, new n.Point(m.lng, t), y);
|
|
371
|
-
},
|
|
372
|
-
zoom(t, l) {
|
|
373
|
-
const { map: n } = this;
|
|
374
|
-
t !== l && t >= 3 && t <= 19 && n.setZoom(t);
|
|
375
|
-
},
|
|
376
|
-
minZoom(t) {
|
|
377
|
-
const { map: l } = this;
|
|
378
|
-
l.setMinZoom(t);
|
|
379
|
-
},
|
|
380
|
-
maxZoom(t) {
|
|
381
|
-
const { map: l } = this;
|
|
382
|
-
l.setMaxZoom(t);
|
|
383
|
-
},
|
|
384
|
-
highResolution() {
|
|
385
|
-
this.reset();
|
|
386
|
-
},
|
|
387
|
-
mapClick() {
|
|
388
|
-
this.reset();
|
|
389
|
-
},
|
|
390
|
-
mapType(t) {
|
|
391
|
-
const { map: l } = this;
|
|
392
|
-
l.setMapType(window[t]);
|
|
393
|
-
},
|
|
394
|
-
dragging(t) {
|
|
395
|
-
const { map: l } = this;
|
|
396
|
-
t ? l.enableDragging() : l.disableDragging();
|
|
397
|
-
},
|
|
398
|
-
scrollWheelZoom(t) {
|
|
399
|
-
const { map: l } = this;
|
|
400
|
-
t ? l.enableScrollWheelZoom() : l.disableScrollWheelZoom();
|
|
401
|
-
},
|
|
402
|
-
doubleClickZoom(t) {
|
|
403
|
-
const { map: l } = this;
|
|
404
|
-
t ? l.enableDoubleClickZoom() : l.disableDoubleClickZoom();
|
|
405
|
-
},
|
|
406
|
-
keyboard(t) {
|
|
407
|
-
const { map: l } = this;
|
|
408
|
-
t ? l.enableKeyboard() : l.disableKeyboard();
|
|
409
|
-
},
|
|
410
|
-
inertialDragging(t) {
|
|
411
|
-
const { map: l } = this;
|
|
412
|
-
t ? l.enableInertialDragging() : l.disableInertialDragging();
|
|
413
|
-
},
|
|
414
|
-
continuousZoom(t) {
|
|
415
|
-
const { map: l } = this;
|
|
416
|
-
t ? l.enableContinuousZoom() : l.disableContinuousZoom();
|
|
417
|
-
},
|
|
418
|
-
pinchToZoom(t) {
|
|
419
|
-
const { map: l } = this;
|
|
420
|
-
t ? l.enablePinchToZoom() : l.disablePinchToZoom();
|
|
421
|
-
},
|
|
422
|
-
autoResize(t) {
|
|
423
|
-
const { map: l } = this;
|
|
424
|
-
t ? l.enableAutoResize() : l.disableAutoResize();
|
|
425
|
-
},
|
|
426
|
-
theme(t) {
|
|
427
|
-
const { map: l } = this;
|
|
428
|
-
l[j("setMapStyle")]({ styleJson: t });
|
|
429
|
-
},
|
|
430
|
-
mapStyle: {
|
|
431
|
-
handler(t) {
|
|
432
|
-
const { map: l, theme: n } = this;
|
|
433
|
-
!n && l[j("setMapStyle")](t);
|
|
434
|
-
},
|
|
435
|
-
deep: !0
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
methods: {
|
|
439
|
-
setMapOptions() {
|
|
440
|
-
const { map: t, minZoom: l, maxZoom: n, mapType: c, dragging: y, scrollWheelZoom: m, doubleClickZoom: e, keyboard: s, inertialDragging: i, continuousZoom: r, pinchToZoom: p, autoResize: d } = this;
|
|
441
|
-
l && t.setMinZoom(l), n && t.setMaxZoom(n), c && t.setMapType(window[c]), y ? t.enableDragging() : t.disableDragging(), m ? t.enableScrollWheelZoom() : t.disableScrollWheelZoom(), e ? t.enableDoubleClickZoom() : t.disableDoubleClickZoom(), s ? t.enableKeyboard() : t.disableKeyboard(), i ? t.enableInertialDragging() : t.disableInertialDragging(), r ? t.enableContinuousZoom() : t.disableContinuousZoom(), p ? t.enablePinchToZoom() : t.disablePinchToZoom(), d ? t.enableAutoResize() : t.disableAutoResize();
|
|
442
|
-
},
|
|
443
|
-
init(t) {
|
|
444
|
-
if (this.map)
|
|
445
|
-
return;
|
|
446
|
-
let l = this.$refs.view;
|
|
447
|
-
const n = new t.Map(l, { enableHighResolution: this.highResolution, enableMapClick: this.mapClick, preserveDrawingBuffer: this.preserveDrawingBuffer }), c = Math.random().toString();
|
|
448
|
-
this.mapKey = c, this.map = n;
|
|
449
|
-
const { setMapOptions: y, zoom: m, getCenterPoint: e, theme: s, mapStyle: i } = this;
|
|
450
|
-
y(), nt.call(this, n), n.reset(), this.setCenterZoom(n, e(), m), s ? n[j("setMapStyle")]({ styleJson: s }) : i && n[j("setMapStyle")](i);
|
|
451
|
-
let r = 0;
|
|
452
|
-
this.$emit("init", { BMap: t, map: n, mapKey: c }), A.$emit("init", { BMap: t, map: n, mapKey: c }), n.addEventListener("tilesloaded", () => {
|
|
453
|
-
r || (r++, this.$emit("ready", { BMap: t, map: n, mapKey: c }), A.$emit("ready", { BMap: t, map: n, mapKey: c }));
|
|
454
|
-
}), n.addEventListener("loaded", () => {
|
|
455
|
-
this.$emit("loaded", { BMap: t, map: n, mapKey: c }), A.$emit("loaded", { BMap: t, map: n, mapKey: c });
|
|
456
|
-
});
|
|
457
|
-
},
|
|
458
|
-
setCenterZoom(t, l, n) {
|
|
459
|
-
D().type === "WebGL" && (!this.hasAnimation || !this.defaultAnimation) ? t.setCenter(l, {
|
|
460
|
-
noAnimation: !this.hasAnimation,
|
|
461
|
-
callback: () => {
|
|
462
|
-
t.setZoom(n, {
|
|
463
|
-
noAnimation: !this.hasAnimation,
|
|
464
|
-
zoomCenter: l,
|
|
465
|
-
callback: () => {
|
|
466
|
-
this.$emit("animationed", { BMap: this.BMap, map: t });
|
|
467
|
-
}
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
}) : t.centerAndZoom(l, n);
|
|
471
|
-
},
|
|
472
|
-
getCenterPoint() {
|
|
473
|
-
const { center: t, BMap: l } = this;
|
|
474
|
-
switch (et(t)) {
|
|
475
|
-
case "String":
|
|
476
|
-
return t;
|
|
477
|
-
case "Object":
|
|
478
|
-
return new l.Point(t.lng, t.lat);
|
|
479
|
-
default:
|
|
480
|
-
return new l.Point();
|
|
481
|
-
}
|
|
482
|
-
},
|
|
483
|
-
initMap(t) {
|
|
484
|
-
this.BMap = t, this.init(t), rt(t);
|
|
485
|
-
},
|
|
486
|
-
getMapScript() {
|
|
487
|
-
return window.BMap ? window.BMap._preloader ? window.BMap._preloader : Promise.resolve(window.BMap) : (window.BMap = {}, window.BMap._preloader = new Promise((t, l) => {
|
|
488
|
-
window._initBaiduMap = function() {
|
|
489
|
-
window.BMap = D().type == "WebGL" ? window.BMapGL : window.BMap, t(window.BMap), window.document.body.removeChild(n), window.BMap._preloader = null, window._initBaiduMap = null;
|
|
490
|
-
};
|
|
491
|
-
const n = document.createElement("script");
|
|
492
|
-
window.document.body.appendChild(n), D().type === "WebGL" ? n.src = `https://api.map.baidu.com/api?v=1.0&type=webgl&ak=${D().ak}&callback=_initBaiduMap` : n.src = `https://api.map.baidu.com/api?v=${D().v}&ak=${D().ak}&callback=_initBaiduMap`;
|
|
493
|
-
}), window.BMap._preloader);
|
|
494
|
-
},
|
|
495
|
-
reset() {
|
|
496
|
-
const { getMapScript: t, initMap: l } = this;
|
|
497
|
-
t().then(l);
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
created() {
|
|
501
|
-
const t = {};
|
|
502
|
-
this.ak && (t.ak = this.ak), this.v && (t.v = this.v), this.type && (t.type = this.type), vt(t);
|
|
503
|
-
},
|
|
504
|
-
mounted() {
|
|
505
|
-
this.reset();
|
|
506
|
-
},
|
|
507
|
-
data() {
|
|
508
|
-
return {
|
|
509
|
-
hasBmView: !1,
|
|
510
|
-
map: null,
|
|
511
|
-
BMap: null,
|
|
512
|
-
name: "bm-map",
|
|
513
|
-
mapKey: ""
|
|
514
|
-
};
|
|
515
|
-
}
|
|
516
|
-
}, wt = {
|
|
517
|
-
key: 0,
|
|
518
|
-
ref: "view",
|
|
519
|
-
style: { width: "100%", height: "100%" }
|
|
520
|
-
};
|
|
521
|
-
function Mt(t, l, n, c, y, m) {
|
|
522
|
-
return H(), W("div", {
|
|
523
|
-
class: lt(t.$attrs.class),
|
|
524
|
-
style: st(t.$attrs.style)
|
|
525
|
-
}, [
|
|
526
|
-
y.hasBmView ? ht("", !0) : (H(), W("div", wt, null, 512)),
|
|
527
|
-
Q(t.$slots, "default")
|
|
528
|
-
], 6);
|
|
529
|
-
}
|
|
530
|
-
var It = /* @__PURE__ */ V(_t, [["render", Mt]]);
|
|
531
|
-
const bt = {
|
|
532
|
-
control: {
|
|
533
|
-
unload: "removeControl"
|
|
534
|
-
},
|
|
535
|
-
layer: {
|
|
536
|
-
unload: "removeTileLayer"
|
|
537
|
-
},
|
|
538
|
-
overlay: {
|
|
539
|
-
unload: "removeOverlay"
|
|
540
|
-
},
|
|
541
|
-
contextMenu: {
|
|
542
|
-
unload: "removeContextMenu"
|
|
543
|
-
}
|
|
544
|
-
}, I = (t) => t.abstract || t.name !== "bm-map" ? I(t.$parent) : t;
|
|
545
|
-
function xt() {
|
|
546
|
-
const { unload: t, renderByParent: l, $parent: n, ready: c } = this;
|
|
547
|
-
A.$off("ready", c), l && n.reload(), t();
|
|
548
|
-
}
|
|
549
|
-
const Bt = (t = {}) => ({
|
|
550
|
-
emits: ["ready", "init"],
|
|
551
|
-
computed: {
|
|
552
|
-
renderByParent() {
|
|
553
|
-
return this.$parent.preventChildrenRender;
|
|
554
|
-
}
|
|
555
|
-
},
|
|
556
|
-
created() {
|
|
557
|
-
const l = I(this.$parent), n = l.map, { ready: c, _init: y } = this;
|
|
558
|
-
n ? c() : A.$on("ready", ({ mapKey: m }) => this.emitCallBack(m, c)), n ? this.init({ BMap: l.BMap, map: n }) : A.$on("init", ({ mapKey: m }) => this.emitCallBack(m, y));
|
|
559
|
-
},
|
|
560
|
-
mounted() {
|
|
561
|
-
const n = I(this.$parent).map, { mountedReady: c } = this;
|
|
562
|
-
n ? c() : A.$on("ready", ({ mapKey: y }) => this.emitCallBack(y, c));
|
|
563
|
-
},
|
|
564
|
-
unmounted: xt,
|
|
565
|
-
methods: {
|
|
566
|
-
emitCallBack(l, n) {
|
|
567
|
-
const c = I(this.$parent);
|
|
568
|
-
l == c.mapKey && n();
|
|
569
|
-
},
|
|
570
|
-
_init() {
|
|
571
|
-
const l = I(this.$parent), n = this.BMap = l.BMap, c = this.map = l.map;
|
|
572
|
-
this.init({ BMap: n, map: c });
|
|
573
|
-
},
|
|
574
|
-
init() {
|
|
575
|
-
},
|
|
576
|
-
ready() {
|
|
577
|
-
const l = I(this.$parent), n = this.BMap = l.BMap, c = this.map = l.map;
|
|
578
|
-
this.load(), this.$emit("ready", {
|
|
579
|
-
BMap: n,
|
|
580
|
-
map: c
|
|
581
|
-
});
|
|
582
|
-
},
|
|
583
|
-
mountedReady() {
|
|
584
|
-
this.mountedLoad();
|
|
585
|
-
},
|
|
586
|
-
transmitEvent(l) {
|
|
587
|
-
this.$emit(l.type.replace(/^on/, ""), l);
|
|
588
|
-
},
|
|
589
|
-
reload() {
|
|
590
|
-
this && this.BMap && this.$nextTick(() => {
|
|
591
|
-
this.unload(), this.$nextTick(() => {
|
|
592
|
-
this.load(), this.mountedLoad();
|
|
593
|
-
});
|
|
594
|
-
});
|
|
595
|
-
},
|
|
596
|
-
unload() {
|
|
597
|
-
const { map: l, originInstance: n } = this;
|
|
598
|
-
try {
|
|
599
|
-
switch (t.type) {
|
|
600
|
-
case "search":
|
|
601
|
-
return n.clearResults();
|
|
602
|
-
case "autoComplete":
|
|
603
|
-
case "lushu":
|
|
604
|
-
return n.dispose();
|
|
605
|
-
case "markerClusterer":
|
|
606
|
-
return n.clearMarkers();
|
|
607
|
-
default:
|
|
608
|
-
l[bt[t.type].unload](n);
|
|
609
|
-
}
|
|
610
|
-
} catch (c) {
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
mountedLoad() {
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
});
|
|
617
|
-
var ot = (t) => Bt({ type: t });
|
|
618
|
-
const Ct = {
|
|
619
|
-
name: "bm-marker",
|
|
620
|
-
mixins: [ot("overlay")],
|
|
621
|
-
inject: {
|
|
622
|
-
Cluster: {
|
|
623
|
-
default: () => ({})
|
|
624
|
-
}
|
|
625
|
-
},
|
|
626
|
-
props: {
|
|
627
|
-
position: {},
|
|
628
|
-
offset: {},
|
|
629
|
-
icon: {},
|
|
630
|
-
massClear: {
|
|
631
|
-
type: Boolean,
|
|
632
|
-
default: !0
|
|
633
|
-
},
|
|
634
|
-
dragging: {
|
|
635
|
-
type: Boolean,
|
|
636
|
-
default: !1
|
|
637
|
-
},
|
|
638
|
-
clicking: {
|
|
639
|
-
type: Boolean,
|
|
640
|
-
default: !0
|
|
641
|
-
},
|
|
642
|
-
raiseOnDrag: {
|
|
643
|
-
type: Boolean,
|
|
644
|
-
default: !1
|
|
645
|
-
},
|
|
646
|
-
draggingCursor: {
|
|
647
|
-
type: String
|
|
648
|
-
},
|
|
649
|
-
rotation: {
|
|
650
|
-
type: Number
|
|
651
|
-
},
|
|
652
|
-
shadow: {
|
|
653
|
-
type: Object
|
|
654
|
-
},
|
|
655
|
-
title: {
|
|
656
|
-
type: String
|
|
657
|
-
},
|
|
658
|
-
label: {
|
|
659
|
-
type: Object
|
|
660
|
-
},
|
|
661
|
-
animation: {
|
|
662
|
-
type: String
|
|
663
|
-
},
|
|
664
|
-
top: {
|
|
665
|
-
type: Boolean,
|
|
666
|
-
default: !1
|
|
667
|
-
},
|
|
668
|
-
zIndex: {
|
|
669
|
-
type: Number,
|
|
670
|
-
default: 0
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
watch: {
|
|
674
|
-
"position.lng"(t, l) {
|
|
675
|
-
const { BMap: n, originInstance: c, position: y, renderByParent: m, $parent: e } = this;
|
|
676
|
-
t !== l && t >= -180 && t <= 180 && c.setPosition(G(n, { lng: t, lat: y.lat })), m && e.reload();
|
|
677
|
-
},
|
|
678
|
-
"position.lat"(t, l) {
|
|
679
|
-
const { BMap: n, originInstance: c, position: y, renderByParent: m, $parent: e } = this;
|
|
680
|
-
t !== l && t >= -74 && t <= 74 && c.setPosition(G(n, { lng: y.lng, lat: t })), m && e.reload();
|
|
681
|
-
},
|
|
682
|
-
"offset.width"(t, l) {
|
|
683
|
-
const { BMap: n, originInstance: c } = this;
|
|
684
|
-
t !== l && c.setOffset(new n.Size(t, this.offset.height));
|
|
685
|
-
},
|
|
686
|
-
"offset.height"(t, l) {
|
|
687
|
-
const { BMap: n, originInstance: c } = this;
|
|
688
|
-
t !== l && c.setOffset(new n.Size(this.offset.width, t));
|
|
689
|
-
},
|
|
690
|
-
icon: {
|
|
691
|
-
deep: !0,
|
|
692
|
-
handler(t) {
|
|
693
|
-
const { BMap: l, originInstance: n, rotation: c } = this;
|
|
694
|
-
n && n.setIcon(tt(l, t)), c && n && n.setRotation(c);
|
|
695
|
-
}
|
|
696
|
-
},
|
|
697
|
-
massClear(t) {
|
|
698
|
-
t ? this.originInstance.enableMassClear() : this.originInstance.disableMassClear();
|
|
699
|
-
},
|
|
700
|
-
dragging(t) {
|
|
701
|
-
t ? this.originInstance.enableDragging() : this.originInstance.disableDragging();
|
|
702
|
-
},
|
|
703
|
-
clicking() {
|
|
704
|
-
this.reload();
|
|
705
|
-
},
|
|
706
|
-
raiseOnDrag() {
|
|
707
|
-
this.reload();
|
|
708
|
-
},
|
|
709
|
-
draggingCursor(t) {
|
|
710
|
-
this.originInstance.setDraggingCursor(t);
|
|
711
|
-
},
|
|
712
|
-
rotation(t) {
|
|
713
|
-
this.originInstance.setRotation(t);
|
|
714
|
-
},
|
|
715
|
-
shadow(t) {
|
|
716
|
-
this.originInstance.setShadow(t);
|
|
717
|
-
},
|
|
718
|
-
title(t) {
|
|
719
|
-
this.originInstance.setTitle(t);
|
|
720
|
-
},
|
|
721
|
-
label(t) {
|
|
722
|
-
this.reload();
|
|
723
|
-
},
|
|
724
|
-
animation(t) {
|
|
725
|
-
this.originInstance.setAnimation(window[t]);
|
|
726
|
-
},
|
|
727
|
-
top(t) {
|
|
728
|
-
this.originInstance.setTop(t);
|
|
729
|
-
},
|
|
730
|
-
zIndex(t) {
|
|
731
|
-
this.originInstance.setZIndex(t);
|
|
732
|
-
}
|
|
733
|
-
},
|
|
734
|
-
methods: {
|
|
735
|
-
load() {
|
|
736
|
-
var t, l;
|
|
737
|
-
const { BMap: n, map: c, position: y, offset: m, icon: e, massClear: s, dragging: i, clicking: r, raiseOnDrag: p, draggingCursor: d, rotation: f, shadow: o, title: u, label: v, animation: w, top: h, renderByParent: x, $parent: k, zIndex: z } = this;
|
|
738
|
-
let C = {
|
|
739
|
-
offset: m,
|
|
740
|
-
icon: e && tt(n, e),
|
|
741
|
-
enableMassClear: s,
|
|
742
|
-
enableDragging: i,
|
|
743
|
-
enableClicking: r,
|
|
744
|
-
raiseOnDrag: p,
|
|
745
|
-
draggingCursor: d,
|
|
746
|
-
rotation: f,
|
|
747
|
-
shadow: o,
|
|
748
|
-
title: u
|
|
749
|
-
};
|
|
750
|
-
X(C);
|
|
751
|
-
const a = new n.Marker(new n.Point(y.lng, y.lat), C);
|
|
752
|
-
this.originInstance = a, v && a && a.setLabel(mt(n, v)), a.setTop(h), a.setZIndex(z), nt.call(this, a), x ? k.reload() : c.addOverlay(a), a.setAnimation(window[w]), (l = (t = this.Cluster) == null ? void 0 : t.addMaker) == null || l.call(t, this);
|
|
753
|
-
}
|
|
754
|
-
},
|
|
755
|
-
beforeUnmount() {
|
|
756
|
-
var t, l;
|
|
757
|
-
(l = (t = this.Cluster) == null ? void 0 : t.removeMaker) == null || l.call(t, this);
|
|
758
|
-
}
|
|
759
|
-
};
|
|
760
|
-
function kt(t, l, n, c, y, m) {
|
|
761
|
-
return H(), W("div", null, [
|
|
762
|
-
Q(t.$slots, "default")
|
|
763
|
-
]);
|
|
764
|
-
}
|
|
765
|
-
var Nt = /* @__PURE__ */ V(Ct, [["render", kt]]), at = { exports: {} };
|
|
766
|
-
(function(t, l) {
|
|
767
|
-
(function(n, c) {
|
|
768
|
-
t.exports = c();
|
|
769
|
-
})(N, function() {
|
|
770
|
-
var n = typeof window != "undefined" ? window : typeof N != "undefined" ? N : this;
|
|
771
|
-
function c(o, u) {
|
|
772
|
-
return u = { exports: {} }, o(u, u.exports, n), u.exports;
|
|
773
|
-
}
|
|
774
|
-
var y = c(function(o, u, v) {
|
|
775
|
-
(function(w, h) {
|
|
776
|
-
typeof u == "object" ? o.exports = h() : (w.BMapLib = w.BMapLib || {}, w.BMapLib.TextIconOverlay = w.BMapLib.TextIconOverlay || h());
|
|
777
|
-
})(n, function() {
|
|
778
|
-
var w, h = w = h || { version: "1.3.8" }, x = {};
|
|
779
|
-
h.guid = "$BAIDU$", x[h.guid] = x[h.guid] || {}, h.dom = h.dom || {}, h.dom.g = function(a) {
|
|
780
|
-
return typeof a == "string" || a instanceof String ? document.getElementById(a) : a && a.nodeName && (a.nodeType == 1 || a.nodeType == 9) ? a : null;
|
|
781
|
-
}, h.g = h.G = h.dom.g, h.dom.getDocument = function(a) {
|
|
782
|
-
return a = h.dom.g(a), a.nodeType == 9 ? a : a.ownerDocument || a.document;
|
|
783
|
-
}, h.lang = h.lang || {}, h.lang.isString = function(a) {
|
|
784
|
-
return Object.prototype.toString.call(a) == "[object String]";
|
|
785
|
-
}, h.isString = h.lang.isString, h.dom._g = function(a) {
|
|
786
|
-
return h.lang.isString(a) ? document.getElementById(a) : a;
|
|
787
|
-
}, h._g = h.dom._g, h.browser = h.browser || {}, /msie (\d+\.\d)/i.test(navigator.userAgent) && (h.browser.ie = h.ie = document.documentMode || +RegExp.$1), h.dom.getComputedStyle = function(a, g) {
|
|
788
|
-
a = h.dom._g(a);
|
|
789
|
-
var _ = h.dom.getDocument(a), M;
|
|
790
|
-
return _.defaultView && _.defaultView.getComputedStyle && (M = _.defaultView.getComputedStyle(a, null), M) ? M[g] || M.getPropertyValue(g) : "";
|
|
791
|
-
}, h.dom._styleFixer = h.dom._styleFixer || {}, h.dom._styleFilter = h.dom._styleFilter || [], h.dom._styleFilter.filter = function(a, g, _) {
|
|
792
|
-
for (var M = 0, b = h.dom._styleFilter, S; S = b[M]; M++)
|
|
793
|
-
(S = S[_]) && (g = S(a, g));
|
|
794
|
-
return g;
|
|
795
|
-
}, h.string = h.string || {}, h.string.toCamelCase = function(a) {
|
|
796
|
-
return a.indexOf("-") < 0 && a.indexOf("_") < 0 ? a : a.replace(/[-_][^-_]/g, function(g) {
|
|
797
|
-
return g.charAt(1).toUpperCase();
|
|
798
|
-
});
|
|
799
|
-
}, h.dom.getStyle = function(a, g) {
|
|
800
|
-
var _ = h.dom;
|
|
801
|
-
a = _.g(a), g = h.string.toCamelCase(g);
|
|
802
|
-
var M = a.style[g] || (a.currentStyle ? a.currentStyle[g] : "") || _.getComputedStyle(a, g);
|
|
803
|
-
if (!M) {
|
|
804
|
-
var b = _._styleFixer[g];
|
|
805
|
-
b && (M = b.get ? b.get(a) : h.dom.getStyle(a, b));
|
|
806
|
-
}
|
|
807
|
-
return (b = _._styleFilter) && (M = b.filter(g, M, "get")), M;
|
|
808
|
-
}, h.getStyle = h.dom.getStyle, /opera\/(\d+\.\d)/i.test(navigator.userAgent) && (h.browser.opera = +RegExp.$1), h.browser.isWebkit = /webkit/i.test(navigator.userAgent), h.browser.isGecko = /gecko/i.test(navigator.userAgent) && !/like gecko/i.test(navigator.userAgent), h.browser.isStrict = document.compatMode == "CSS1Compat", h.dom.getPosition = function(a) {
|
|
809
|
-
a = h.dom.g(a);
|
|
810
|
-
var g = h.dom.getDocument(a), _ = h.browser, M = h.dom.getStyle;
|
|
811
|
-
_.isGecko > 0 && g.getBoxObjectFor && M(a, "position") == "absolute" && (a.style.top === "" || a.style.left);
|
|
812
|
-
var b = { left: 0, top: 0 }, S = _.ie && !_.isStrict ? g.body : g.documentElement, B, P;
|
|
813
|
-
if (a == S)
|
|
814
|
-
return b;
|
|
815
|
-
if (a.getBoundingClientRect) {
|
|
816
|
-
P = a.getBoundingClientRect(), b.left = Math.floor(P.left) + Math.max(g.documentElement.scrollLeft, g.body.scrollLeft), b.top = Math.floor(P.top) + Math.max(g.documentElement.scrollTop, g.body.scrollTop), b.left -= g.documentElement.clientLeft, b.top -= g.documentElement.clientTop;
|
|
817
|
-
var O = g.body, Z = parseInt(M(O, "borderLeftWidth")), J = parseInt(M(O, "borderTopWidth"));
|
|
818
|
-
_.ie && !_.isStrict && (b.left -= isNaN(Z) ? 2 : Z, b.top -= isNaN(J) ? 2 : J);
|
|
819
|
-
} else {
|
|
820
|
-
B = a;
|
|
821
|
-
do {
|
|
822
|
-
if (b.left += B.offsetLeft, b.top += B.offsetTop, _.isWebkit > 0 && M(B, "position") == "fixed") {
|
|
823
|
-
b.left += g.body.scrollLeft, b.top += g.body.scrollTop;
|
|
824
|
-
break;
|
|
825
|
-
}
|
|
826
|
-
B = B.offsetParent;
|
|
827
|
-
} while (B && B != a);
|
|
828
|
-
for ((_.opera > 0 || _.isWebkit > 0 && M(a, "position") == "absolute") && (b.top -= g.body.offsetTop), B = a.offsetParent; B && B != g.body; )
|
|
829
|
-
b.left -= B.scrollLeft, (!_.opera || B.tagName != "TR") && (b.top -= B.scrollTop), B = B.offsetParent;
|
|
830
|
-
}
|
|
831
|
-
return b;
|
|
832
|
-
}, h.event = h.event || {}, h.event._listeners = h.event._listeners || [], h.event.on = function(a, g, _) {
|
|
833
|
-
g = g.replace(/^on/i, ""), a = h.dom._g(a);
|
|
834
|
-
var M = function(O) {
|
|
835
|
-
_.call(a, O);
|
|
836
|
-
}, b = h.event._listeners, S = h.event._eventFilter, B, P = g;
|
|
837
|
-
return g = g.toLowerCase(), S && S[g] && (B = S[g](a, g, M), P = B.type, M = B.listener), a.addEventListener ? a.addEventListener(P, M, !1) : a.attachEvent && a.attachEvent("on" + P, M), b[b.length] = [a, g, _, M, P], a;
|
|
838
|
-
}, h.on = h.event.on, (function() {
|
|
839
|
-
var a = x[h.guid];
|
|
840
|
-
h.lang.guid = function() {
|
|
841
|
-
return "TANGRAM__" + (a._counter++).toString(36);
|
|
842
|
-
}, a._counter = a._counter || 1;
|
|
843
|
-
})(), x[h.guid]._instances = x[h.guid]._instances || {}, h.lang.isFunction = function(a) {
|
|
844
|
-
return Object.prototype.toString.call(a) == "[object Function]";
|
|
845
|
-
}, h.lang.Class = function(a) {
|
|
846
|
-
this.guid = a || h.lang.guid(), x[h.guid]._instances[this.guid] = this;
|
|
847
|
-
}, x[h.guid]._instances = x[h.guid]._instances || {}, h.lang.Class.prototype.dispose = function() {
|
|
848
|
-
delete x[h.guid]._instances[this.guid];
|
|
849
|
-
for (var a in this)
|
|
850
|
-
h.lang.isFunction(this[a]) || delete this[a];
|
|
851
|
-
this.disposed = !0;
|
|
852
|
-
}, h.lang.Class.prototype.toString = function() {
|
|
853
|
-
return "[object " + (this._className || "Object") + "]";
|
|
854
|
-
}, h.lang.Event = function(a, g) {
|
|
855
|
-
this.type = a, this.returnValue = !0, this.target = g || null, this.currentTarget = null;
|
|
856
|
-
}, h.lang.Class.prototype.addEventListener = function(a, g, _) {
|
|
857
|
-
if (h.lang.isFunction(g)) {
|
|
858
|
-
!this.__listeners && (this.__listeners = {});
|
|
859
|
-
var M = this.__listeners, b;
|
|
860
|
-
if (typeof _ == "string" && _) {
|
|
861
|
-
if (/[^\w\-]/.test(_))
|
|
862
|
-
throw "nonstandard key:" + _;
|
|
863
|
-
g.hashCode = _, b = _;
|
|
864
|
-
}
|
|
865
|
-
a.indexOf("on") != 0 && (a = "on" + a), typeof M[a] != "object" && (M[a] = {}), b = b || h.lang.guid(), g.hashCode = b, M[a][b] = g;
|
|
866
|
-
}
|
|
867
|
-
}, h.lang.Class.prototype.removeEventListener = function(a, g) {
|
|
868
|
-
if (!(typeof g != "undefined" && (h.lang.isFunction(g) && !(g = g.hashCode) || !h.lang.isString(g)))) {
|
|
869
|
-
!this.__listeners && (this.__listeners = {}), a.indexOf("on") != 0 && (a = "on" + a);
|
|
870
|
-
var _ = this.__listeners;
|
|
871
|
-
if (_[a])
|
|
872
|
-
if (typeof g != "undefined")
|
|
873
|
-
_[a][g] && delete _[a][g];
|
|
874
|
-
else
|
|
875
|
-
for (var M in _[a])
|
|
876
|
-
delete _[a][M];
|
|
877
|
-
}
|
|
878
|
-
}, h.lang.Class.prototype.dispatchEvent = function(a, g) {
|
|
879
|
-
h.lang.isString(a) && (a = new h.lang.Event(a)), !this.__listeners && (this.__listeners = {}), g = g || {};
|
|
880
|
-
for (var _ in g)
|
|
881
|
-
a[_] = g[_];
|
|
882
|
-
var _, M = this.__listeners, b = a.type;
|
|
883
|
-
if (a.target = a.target || this, a.currentTarget = this, b.indexOf("on") != 0 && (b = "on" + b), h.lang.isFunction(this[b]) && this[b].apply(this, arguments), typeof M[b] == "object")
|
|
884
|
-
for (_ in M[b])
|
|
885
|
-
M[b][_].apply(this, arguments);
|
|
886
|
-
return a.returnValue;
|
|
887
|
-
}, h.lang.inherits = function(a, g, _) {
|
|
888
|
-
var M, b, S = a.prototype, B = new Function();
|
|
889
|
-
B.prototype = g.prototype, b = a.prototype = new B();
|
|
890
|
-
for (M in S)
|
|
891
|
-
b[M] = S[M];
|
|
892
|
-
a.prototype.constructor = a, a.superClass = g.prototype, typeof _ == "string" && (b._className = _);
|
|
893
|
-
}, h.inherits = h.lang.inherits;
|
|
894
|
-
var k = "http://api.map.baidu.com/library/TextIconOverlay/1.2/src/images/m", z = "png", C = function(a, g, _) {
|
|
895
|
-
try {
|
|
896
|
-
BMap;
|
|
897
|
-
} catch (M) {
|
|
898
|
-
throw Error("Baidu Map JS API is not ready yet!");
|
|
899
|
-
}
|
|
900
|
-
w.lang.inherits(C, BMap.Overlay, "TextIconOverlay"), this._position = a, this._text = g, this._options = _ || {}, this._styles = this._options.styles || [], !this._styles.length && this._setupDefaultStyles();
|
|
901
|
-
};
|
|
902
|
-
return C.prototype._setupDefaultStyles = function() {
|
|
903
|
-
for (var a = [53, 56, 66, 78, 90], g = 0, _; _ = a[g]; g++)
|
|
904
|
-
this._styles.push({
|
|
905
|
-
url: k + g + "." + z,
|
|
906
|
-
size: new BMap.Size(_, _)
|
|
907
|
-
});
|
|
908
|
-
}, C.prototype.initialize = function(a) {
|
|
909
|
-
return this._map = a, this._domElement = document.createElement("div"), this._updateCss(), this._updateText(), this._updatePosition(), this._bind(), this._map.getPanes().markerMouseTarget.appendChild(this._domElement), this._domElement;
|
|
910
|
-
}, C.prototype.draw = function() {
|
|
911
|
-
this._map && this._updatePosition();
|
|
912
|
-
}, C.prototype.getText = function() {
|
|
913
|
-
return this._text;
|
|
914
|
-
}, C.prototype.setText = function(a) {
|
|
915
|
-
a && (!this._text || this._text.toString() != a.toString()) && (this._text = a, this._updateText(), this._updateCss(), this._updatePosition());
|
|
916
|
-
}, C.prototype.getPosition = function() {
|
|
917
|
-
return this._position;
|
|
918
|
-
}, C.prototype.setPosition = function(a) {
|
|
919
|
-
a && (!this._position || !this._position.equals(a)) && (this._position = a, this._updatePosition());
|
|
920
|
-
}, C.prototype.getStyleByText = function(a, g) {
|
|
921
|
-
var _ = parseInt(a), M = parseInt(_ / 10);
|
|
922
|
-
return M = Math.max(0, M), M = Math.min(M, g.length - 1), g[M];
|
|
923
|
-
}, C.prototype._updateCss = function() {
|
|
924
|
-
if (this._domElement) {
|
|
925
|
-
var a = this.getStyleByText(this._text, this._styles);
|
|
926
|
-
this._domElement.style.cssText = this._buildCssText(a);
|
|
927
|
-
}
|
|
928
|
-
}, C.prototype._updateText = function() {
|
|
929
|
-
this._domElement && (this._domElement.innerHTML = this._text);
|
|
930
|
-
}, C.prototype._updatePosition = function() {
|
|
931
|
-
if (this._domElement && this._position) {
|
|
932
|
-
var a = this._domElement.style, g = this._map.pointToOverlayPixel(this._position);
|
|
933
|
-
g.x -= Math.ceil(parseInt(a.width) / 2), g.y -= Math.ceil(parseInt(a.height) / 2), a.left = g.x + "px", a.top = g.y + "px";
|
|
934
|
-
}
|
|
935
|
-
}, C.prototype._buildCssText = function(a) {
|
|
936
|
-
var g = a.url, _ = a.size, M = a.anchor, b = a.offset, S = a.textColor || "black", B = a.textSize || 10, P = [];
|
|
937
|
-
if (w.browser.ie < 7)
|
|
938
|
-
P.push('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale,src="' + g + '");');
|
|
939
|
-
else {
|
|
940
|
-
P.push("background-image:url(" + g + ");");
|
|
941
|
-
var O = "0 0";
|
|
942
|
-
b instanceof BMap.Size && (O = b.width + "px " + b.height + "px"), P.push("background-position:" + O + ";");
|
|
943
|
-
}
|
|
944
|
-
return _ instanceof BMap.Size && (M instanceof BMap.Size ? (M.height > 0 && M.height < _.height && P.push("height:" + (_.height - M.height) + "px; padding-top:" + M.height + "px;"), M.width > 0 && M.width < _.width && P.push("width:" + (_.width - M.width) + "px; padding-left:" + M.width + "px;")) : (P.push("height:" + _.height + "px; line-height:" + _.height + "px;"), P.push("width:" + _.width + "px; text-align:center;"))), P.push("cursor:pointer; color:" + S + "; position:absolute; font-size:" + B + "px; font-family:Arial,sans-serif; font-weight:bold"), P.join("");
|
|
945
|
-
}, C.prototype._bind = function() {
|
|
946
|
-
if (!this._domElement)
|
|
947
|
-
return;
|
|
948
|
-
var a = this, g = this._map, _ = w.lang.Event;
|
|
949
|
-
function M(b, S) {
|
|
950
|
-
var B = b.srcElement || b.target, P = b.clientX || b.pageX, O = b.clientY || b.pageY;
|
|
951
|
-
if (b && S && P && O && B) {
|
|
952
|
-
var Z = w.dom.getPosition(g.getContainer());
|
|
953
|
-
S.pixel = new BMap.Pixel(P - Z.left, O - Z.top), S.point = g.pixelToPoint(S.pixel);
|
|
954
|
-
}
|
|
955
|
-
return S;
|
|
956
|
-
}
|
|
957
|
-
w.event.on(this._domElement, "mouseover", function(b) {
|
|
958
|
-
a.dispatchEvent(M(b, new _("onmouseover")));
|
|
959
|
-
}), w.event.on(this._domElement, "mouseout", function(b) {
|
|
960
|
-
a.dispatchEvent(M(b, new _("onmouseout")));
|
|
961
|
-
}), w.event.on(this._domElement, "click", function(b) {
|
|
962
|
-
a.dispatchEvent(M(b, new _("onclick")));
|
|
963
|
-
});
|
|
964
|
-
}, C;
|
|
965
|
-
});
|
|
966
|
-
}), m = y && typeof y == "object" && "default" in y ? y.default : y, e = function(o, u, v) {
|
|
967
|
-
u = s(u);
|
|
968
|
-
var w = o.pointToPixel(u.getNorthEast()), h = o.pointToPixel(u.getSouthWest());
|
|
969
|
-
w.x += v, w.y -= v, h.x -= v, h.y += v;
|
|
970
|
-
var x = o.pixelToPoint(w), k = o.pixelToPoint(h);
|
|
971
|
-
return new BMap.Bounds(k, x);
|
|
972
|
-
}, s = function(o) {
|
|
973
|
-
var u = i(o.getNorthEast().lng, -180, 180), v = i(o.getSouthWest().lng, -180, 180), w = i(o.getNorthEast().lat, -74, 74), h = i(o.getSouthWest().lat, -74, 74);
|
|
974
|
-
return new BMap.Bounds(new BMap.Point(v, h), new BMap.Point(u, w));
|
|
975
|
-
}, i = function(o, u, v) {
|
|
976
|
-
return u && (o = Math.max(o, u)), v && (o = Math.min(o, v)), o;
|
|
977
|
-
}, r = function(o) {
|
|
978
|
-
return Object.prototype.toString.call(o) === "[object Array]";
|
|
979
|
-
}, p = function(o, u) {
|
|
980
|
-
var v = -1;
|
|
981
|
-
if (r(u)) {
|
|
982
|
-
if (u.indexOf)
|
|
983
|
-
v = u.indexOf(o);
|
|
984
|
-
else
|
|
985
|
-
for (var w = 0, h; h = u[w]; w++)
|
|
986
|
-
if (h === o) {
|
|
987
|
-
v = w;
|
|
988
|
-
break;
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
return v;
|
|
992
|
-
}, d = function(o, u) {
|
|
993
|
-
try {
|
|
994
|
-
BMap;
|
|
995
|
-
} catch (x) {
|
|
996
|
-
throw Error("Baidu Map JS API is not ready yet!");
|
|
997
|
-
}
|
|
998
|
-
if (o) {
|
|
999
|
-
this._map = o, this._markers = [], this._clusters = [];
|
|
1000
|
-
var v = u || {};
|
|
1001
|
-
this._gridSize = v.gridSize || 60, this._maxZoom = v.maxZoom || 18, this._minClusterSize = v.minClusterSize || 2, this._isAverageCenter = !1, v.isAverageCenter != null && (this._isAverageCenter = v.isAverageCenter), this._styles = v.styles || [];
|
|
1002
|
-
var w = this;
|
|
1003
|
-
this._map.addEventListener("zoomend", function() {
|
|
1004
|
-
w._redraw();
|
|
1005
|
-
}), this._map.addEventListener("moveend", function() {
|
|
1006
|
-
w._redraw();
|
|
1007
|
-
});
|
|
1008
|
-
var h = v.markers;
|
|
1009
|
-
r(h) && this.addMarkers(h);
|
|
1010
|
-
}
|
|
1011
|
-
};
|
|
1012
|
-
d.prototype.addMarkers = function(o) {
|
|
1013
|
-
if (o.length) {
|
|
1014
|
-
for (var u = 0, v = o.length; u < v; u++)
|
|
1015
|
-
this._pushMarkerTo(o[u]);
|
|
1016
|
-
this._createClusters();
|
|
1017
|
-
}
|
|
1018
|
-
}, d.prototype._pushMarkerTo = function(o) {
|
|
1019
|
-
var u = p(o, this._markers);
|
|
1020
|
-
u === -1 && (o.isInCluster = !1, this._markers.push(o));
|
|
1021
|
-
}, d.prototype.addMarker = function(o) {
|
|
1022
|
-
this._pushMarkerTo(o), this._createClusters();
|
|
1023
|
-
}, d.prototype._createClusters = function() {
|
|
1024
|
-
var o = this._map.getBounds();
|
|
1025
|
-
if (o.getCenter())
|
|
1026
|
-
for (var u = e(this._map, o, this._gridSize), v = 0, w; w = this._markers[v]; v++)
|
|
1027
|
-
!w.isInCluster && u.containsPoint(w.getPosition()) && this._addToClosestCluster(w);
|
|
1028
|
-
}, d.prototype._addToClosestCluster = function(o) {
|
|
1029
|
-
var u = 4e6, v = null;
|
|
1030
|
-
o.getPosition();
|
|
1031
|
-
for (var w = 0, h; h = this._clusters[w]; w++) {
|
|
1032
|
-
var x = h.getCenter();
|
|
1033
|
-
if (x) {
|
|
1034
|
-
var k = this._map.getDistance(x, o.getPosition());
|
|
1035
|
-
k < u && (u = k, v = h);
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
if (v && v.isMarkerInClusterBounds(o))
|
|
1039
|
-
v.addMarker(o);
|
|
1040
|
-
else {
|
|
1041
|
-
var h = new f(this);
|
|
1042
|
-
h.addMarker(o), this._clusters.push(h);
|
|
1043
|
-
}
|
|
1044
|
-
}, d.prototype._clearLastClusters = function() {
|
|
1045
|
-
for (var o = 0, u; u = this._clusters[o]; o++)
|
|
1046
|
-
u.remove();
|
|
1047
|
-
this._clusters = [], this._removeMarkersFromCluster();
|
|
1048
|
-
}, d.prototype._removeMarkersFromCluster = function() {
|
|
1049
|
-
for (var o = 0, u; u = this._markers[o]; o++)
|
|
1050
|
-
u.isInCluster = !1;
|
|
1051
|
-
}, d.prototype._removeMarkersFromMap = function() {
|
|
1052
|
-
for (var o = 0, u; u = this._markers[o]; o++) {
|
|
1053
|
-
u.isInCluster = !1;
|
|
1054
|
-
var v = u.getLabel();
|
|
1055
|
-
this._map.removeOverlay(u), u.setLabel(v);
|
|
1056
|
-
}
|
|
1057
|
-
}, d.prototype._removeMarker = function(o) {
|
|
1058
|
-
var u = p(o, this._markers);
|
|
1059
|
-
return u === -1 ? !1 : (this._map.removeOverlay(o), this._markers.splice(u, 1), !0);
|
|
1060
|
-
}, d.prototype.removeMarker = function(o) {
|
|
1061
|
-
var u = this._removeMarker(o);
|
|
1062
|
-
return u && (this._clearLastClusters(), this._createClusters()), u;
|
|
1063
|
-
}, d.prototype.removeMarkers = function(o) {
|
|
1064
|
-
for (var u = !1, v = 0; v < o.length; v++) {
|
|
1065
|
-
var w = this._removeMarker(o[v]);
|
|
1066
|
-
u = u || w;
|
|
1067
|
-
}
|
|
1068
|
-
return u && (this._clearLastClusters(), this._createClusters()), u;
|
|
1069
|
-
}, d.prototype.clearMarkers = function() {
|
|
1070
|
-
this._clearLastClusters(), this._removeMarkersFromMap(), this._markers = [];
|
|
1071
|
-
}, d.prototype._redraw = function() {
|
|
1072
|
-
this._clearLastClusters(), this._createClusters();
|
|
1073
|
-
}, d.prototype.getGridSize = function() {
|
|
1074
|
-
return this._gridSize;
|
|
1075
|
-
}, d.prototype.setGridSize = function(o) {
|
|
1076
|
-
this._gridSize = o, this._redraw();
|
|
1077
|
-
}, d.prototype.getMaxZoom = function() {
|
|
1078
|
-
return this._maxZoom;
|
|
1079
|
-
}, d.prototype.setMaxZoom = function(o) {
|
|
1080
|
-
this._maxZoom = o, this._redraw();
|
|
1081
|
-
}, d.prototype.getStyles = function() {
|
|
1082
|
-
return this._styles;
|
|
1083
|
-
}, d.prototype.setStyles = function(o) {
|
|
1084
|
-
this._styles = o, this._redraw();
|
|
1085
|
-
}, d.prototype.getMinClusterSize = function() {
|
|
1086
|
-
return this._minClusterSize;
|
|
1087
|
-
}, d.prototype.setMinClusterSize = function(o) {
|
|
1088
|
-
this._minClusterSize = o, this._redraw();
|
|
1089
|
-
}, d.prototype.isAverageCenter = function() {
|
|
1090
|
-
return this._isAverageCenter;
|
|
1091
|
-
}, d.prototype.getMap = function() {
|
|
1092
|
-
return this._map;
|
|
1093
|
-
}, d.prototype.getMarkers = function() {
|
|
1094
|
-
return this._markers;
|
|
1095
|
-
}, d.prototype.getClustersCount = function() {
|
|
1096
|
-
for (var o = 0, u = 0, v; v = this._clusters[u]; u++)
|
|
1097
|
-
v.isReal() && o++;
|
|
1098
|
-
return o;
|
|
1099
|
-
};
|
|
1100
|
-
function f(o) {
|
|
1101
|
-
this._markerClusterer = o, this._map = o.getMap(), this._minClusterSize = o.getMinClusterSize(), this._isAverageCenter = o.isAverageCenter(), this._center = null, this._markers = [], this._gridBounds = null, this._isReal = !1, this._clusterMarker = new m(this._center, this._markers.length, { styles: this._markerClusterer.getStyles() });
|
|
1102
|
-
}
|
|
1103
|
-
return f.prototype.addMarker = function(o) {
|
|
1104
|
-
if (this.isMarkerInCluster(o))
|
|
1105
|
-
return !1;
|
|
1106
|
-
if (!this._center)
|
|
1107
|
-
this._center = o.getPosition(), this.updateGridBounds();
|
|
1108
|
-
else if (this._isAverageCenter) {
|
|
1109
|
-
var u = this._markers.length + 1, v = (this._center.lat * (u - 1) + o.getPosition().lat) / u, w = (this._center.lng * (u - 1) + o.getPosition().lng) / u;
|
|
1110
|
-
this._center = new BMap.Point(w, v), this.updateGridBounds();
|
|
1111
|
-
}
|
|
1112
|
-
o.isInCluster = !0, this._markers.push(o);
|
|
1113
|
-
var h = this._markers.length;
|
|
1114
|
-
if (h < this._minClusterSize)
|
|
1115
|
-
return this._map.addOverlay(o), !0;
|
|
1116
|
-
if (h === this._minClusterSize)
|
|
1117
|
-
for (var x = 0; x < h; x++) {
|
|
1118
|
-
var k = this._markers[x].getLabel();
|
|
1119
|
-
this._markers[x].getMap() && this._map.removeOverlay(this._markers[x]), this._markers[x].setLabel(k);
|
|
1120
|
-
}
|
|
1121
|
-
return this._map.addOverlay(this._clusterMarker), this._isReal = !0, this.updateClusterMarker(), !0;
|
|
1122
|
-
}, f.prototype.isMarkerInCluster = function(o) {
|
|
1123
|
-
if (this._markers.indexOf)
|
|
1124
|
-
return this._markers.indexOf(o) != -1;
|
|
1125
|
-
for (var u = 0, v; v = this._markers[u]; u++)
|
|
1126
|
-
if (v === o)
|
|
1127
|
-
return !0;
|
|
1128
|
-
return !1;
|
|
1129
|
-
}, f.prototype.isMarkerInClusterBounds = function(o) {
|
|
1130
|
-
return this._gridBounds.containsPoint(o.getPosition());
|
|
1131
|
-
}, f.prototype.isReal = function(o) {
|
|
1132
|
-
return this._isReal;
|
|
1133
|
-
}, f.prototype.updateGridBounds = function() {
|
|
1134
|
-
var o = new BMap.Bounds(this._center, this._center);
|
|
1135
|
-
this._gridBounds = e(this._map, o, this._markerClusterer.getGridSize());
|
|
1136
|
-
}, f.prototype.updateClusterMarker = function() {
|
|
1137
|
-
if (this._map.getZoom() > this._markerClusterer.getMaxZoom()) {
|
|
1138
|
-
this._clusterMarker && this._map.removeOverlay(this._clusterMarker);
|
|
1139
|
-
for (var o = 0, u; u = this._markers[o]; o++)
|
|
1140
|
-
this._map.addOverlay(u);
|
|
1141
|
-
return;
|
|
1142
|
-
}
|
|
1143
|
-
if (this._markers.length < this._minClusterSize) {
|
|
1144
|
-
this._clusterMarker.hide();
|
|
1145
|
-
return;
|
|
1146
|
-
}
|
|
1147
|
-
this._clusterMarker.setPosition(this._center), this._clusterMarker.setText(this._markers.length), this._clusterMarker.addEventListener && !this._clusterMarker._hasClickEvent && this._clusterMarker.addEventListener("click", function(v) {
|
|
1148
|
-
this._clusterMarker._hasClickEvent = !0, this._markers && this._map.setViewport(this.getBounds());
|
|
1149
|
-
}.bind(this));
|
|
1150
|
-
}, f.prototype.remove = function() {
|
|
1151
|
-
for (var o = 0; this._markers[o]; o++) {
|
|
1152
|
-
var u = this._markers[o].getLabel();
|
|
1153
|
-
this._markers[o].getMap() && this._map.removeOverlay(this._markers[o]), this._markers[o].setLabel(u);
|
|
1154
|
-
}
|
|
1155
|
-
this._map.removeOverlay(this._clusterMarker), this._markers.length = 0, delete this._markers;
|
|
1156
|
-
}, f.prototype.getBounds = function() {
|
|
1157
|
-
for (var o = new BMap.Bounds(this._center, this._center), u = 0, v; v = this._markers[u]; u++)
|
|
1158
|
-
o.extend(v.getPosition());
|
|
1159
|
-
return o;
|
|
1160
|
-
}, f.prototype.getCenter = function() {
|
|
1161
|
-
return this._center;
|
|
1162
|
-
}, d;
|
|
1163
|
-
});
|
|
1164
|
-
})(at);
|
|
1165
|
-
var Pt = at.exports;
|
|
1166
|
-
const L = [], St = {
|
|
1167
|
-
name: "bml-marker-clusterer",
|
|
1168
|
-
mixins: [ot("markerClusterer")],
|
|
1169
|
-
provide() {
|
|
1170
|
-
return {
|
|
1171
|
-
Cluster: this
|
|
1172
|
-
};
|
|
1173
|
-
},
|
|
1174
|
-
props: {
|
|
1175
|
-
gridSize: {
|
|
1176
|
-
type: Number
|
|
1177
|
-
},
|
|
1178
|
-
maxZoom: {
|
|
1179
|
-
type: Number
|
|
1180
|
-
},
|
|
1181
|
-
minClusterSize: {
|
|
1182
|
-
type: Number
|
|
1183
|
-
},
|
|
1184
|
-
styles: {
|
|
1185
|
-
type: Array,
|
|
1186
|
-
default() {
|
|
1187
|
-
return [];
|
|
1188
|
-
}
|
|
1189
|
-
},
|
|
1190
|
-
averageCenter: {
|
|
1191
|
-
type: Boolean,
|
|
1192
|
-
default: !1
|
|
1193
|
-
}
|
|
1194
|
-
},
|
|
1195
|
-
data() {
|
|
1196
|
-
return {};
|
|
1197
|
-
},
|
|
1198
|
-
watch: {
|
|
1199
|
-
gridSize: {
|
|
1200
|
-
handler(t) {
|
|
1201
|
-
const { BMap: l, originInstance: n } = this;
|
|
1202
|
-
n.setGridSize(t);
|
|
1203
|
-
},
|
|
1204
|
-
deep: !0
|
|
1205
|
-
},
|
|
1206
|
-
maxZoom(t) {
|
|
1207
|
-
const { originInstance: l } = this;
|
|
1208
|
-
l.setMaxZoom(t);
|
|
1209
|
-
},
|
|
1210
|
-
minClusterSize: {
|
|
1211
|
-
handler(t) {
|
|
1212
|
-
const { BMap: l, originInstance: n } = this;
|
|
1213
|
-
n.setMinClusterSize(t);
|
|
1214
|
-
},
|
|
1215
|
-
deep: !0
|
|
1216
|
-
},
|
|
1217
|
-
styles: {
|
|
1218
|
-
handler(t) {
|
|
1219
|
-
const { BMap: l, originInstance: n } = this, c = JSON.parse(JSON.stringify(t)).map((y) => (y.size = y.size && E(l, y.size), y));
|
|
1220
|
-
n.setStyles(c);
|
|
1221
|
-
},
|
|
1222
|
-
deep: !0
|
|
1223
|
-
},
|
|
1224
|
-
averageCenter(t) {
|
|
1225
|
-
this.reload();
|
|
1226
|
-
}
|
|
1227
|
-
},
|
|
1228
|
-
methods: {
|
|
1229
|
-
load() {
|
|
1230
|
-
const { BMap: t, map: l, gridSize: n, minClusterSize: c, maxZoom: y, styles: m, averageCenter: e } = this;
|
|
1231
|
-
this.originInstance = new Pt(l, {
|
|
1232
|
-
gridSize: n || 60,
|
|
1233
|
-
maxZoom: y,
|
|
1234
|
-
minClusterSize: c || 2,
|
|
1235
|
-
styles: m.map((s) => (s.size = E(t, s.size), s)),
|
|
1236
|
-
isAverageCenter: e
|
|
1237
|
-
}), this.$nextTick(() => {
|
|
1238
|
-
const s = L.map((i) => i.originInstance).filter((i) => i instanceof t.Marker);
|
|
1239
|
-
this.originInstance.addMarkers(s);
|
|
1240
|
-
});
|
|
1241
|
-
},
|
|
1242
|
-
addMaker(t) {
|
|
1243
|
-
L.push(t);
|
|
1244
|
-
},
|
|
1245
|
-
removeMaker(t) {
|
|
1246
|
-
L.splice(L.indexOf(t), 1);
|
|
1247
|
-
}
|
|
1248
|
-
},
|
|
1249
|
-
beforeCreate() {
|
|
1250
|
-
this.preventChildrenRender = !0;
|
|
1251
|
-
}
|
|
1252
|
-
};
|
|
1253
|
-
function Ot(t, l, n, c, y, m) {
|
|
1254
|
-
return H(), W("span", null, [
|
|
1255
|
-
Q(t.$slots, "default")
|
|
1256
|
-
]);
|
|
1257
|
-
}
|
|
1258
|
-
var Zt = /* @__PURE__ */ V(St, [["render", Ot]]), zt = { exports: {} };
|
|
1259
|
-
(function(t, l) {
|
|
1260
|
-
(function(n, c) {
|
|
1261
|
-
t.exports = c();
|
|
1262
|
-
})(N, function() {
|
|
1263
|
-
var n = {};
|
|
1264
|
-
n.dom = {}, n.dom.g = function(e) {
|
|
1265
|
-
return typeof e == "string" || e instanceof String ? document.getElementById(e) : e && e.nodeName && (e.nodeType == 1 || e.nodeType == 9) ? e : null;
|
|
1266
|
-
}, n.g = n.G = n.dom.g, n.lang = n.lang || {}, n.lang.isString = function(e) {
|
|
1267
|
-
return Object.prototype.toString.call(e) == "[object String]";
|
|
1268
|
-
}, n.isString = n.lang.isString, n.dom._g = function(e) {
|
|
1269
|
-
return n.lang.isString(e) ? document.getElementById(e) : e;
|
|
1270
|
-
}, n._g = n.dom._g, n.dom.getDocument = function(e) {
|
|
1271
|
-
return e = n.dom.g(e), e.nodeType == 9 ? e : e.ownerDocument || e.document;
|
|
1272
|
-
}, n.browser = n.browser || {}, n.browser.ie = n.ie = /msie (\d+\.\d+)/i.test(navigator.userAgent) ? document.documentMode || +RegExp.$1 : void 0, n.dom.getComputedStyle = function(e, s) {
|
|
1273
|
-
e = n.dom._g(e);
|
|
1274
|
-
var i = n.dom.getDocument(e), r;
|
|
1275
|
-
return i.defaultView && i.defaultView.getComputedStyle && (r = i.defaultView.getComputedStyle(e, null), r) ? r[s] || r.getPropertyValue(s) : "";
|
|
1276
|
-
}, n.dom._styleFixer = n.dom._styleFixer || {}, n.dom._styleFilter = n.dom._styleFilter || [], n.dom._styleFilter.filter = function(e, s, i) {
|
|
1277
|
-
for (var r = 0, p = n.dom._styleFilter, d; d = p[r]; r++)
|
|
1278
|
-
(d = d[i]) && (s = d(e, s));
|
|
1279
|
-
return s;
|
|
1280
|
-
}, n.string = n.string || {}, n.string.toCamelCase = function(e) {
|
|
1281
|
-
return e.indexOf("-") < 0 && e.indexOf("_") < 0 ? e : e.replace(/[-_][^-_]/g, function(s) {
|
|
1282
|
-
return s.charAt(1).toUpperCase();
|
|
1283
|
-
});
|
|
1284
|
-
}, n.dom.getStyle = function(e, s) {
|
|
1285
|
-
var i = n.dom;
|
|
1286
|
-
e = i.g(e), s = n.string.toCamelCase(s);
|
|
1287
|
-
var r = e.style[s] || (e.currentStyle ? e.currentStyle[s] : "") || i.getComputedStyle(e, s);
|
|
1288
|
-
if (!r) {
|
|
1289
|
-
var p = i._styleFixer[s];
|
|
1290
|
-
p && (r = p.get ? p.get(e) : n.dom.getStyle(e, p));
|
|
1291
|
-
}
|
|
1292
|
-
return (p = i._styleFilter) && (r = p.filter(s, r, "get")), r;
|
|
1293
|
-
}, n.getStyle = n.dom.getStyle, n.dom._NAME_ATTRS = (function() {
|
|
1294
|
-
var e = {
|
|
1295
|
-
cellpadding: "cellPadding",
|
|
1296
|
-
cellspacing: "cellSpacing",
|
|
1297
|
-
colspan: "colSpan",
|
|
1298
|
-
rowspan: "rowSpan",
|
|
1299
|
-
valign: "vAlign",
|
|
1300
|
-
usemap: "useMap",
|
|
1301
|
-
frameborder: "frameBorder"
|
|
1302
|
-
};
|
|
1303
|
-
return n.browser.ie < 8 ? (e.for = "htmlFor", e.class = "className") : (e.htmlFor = "for", e.className = "class"), e;
|
|
1304
|
-
})(), n.dom.setAttr = function(e, s, i) {
|
|
1305
|
-
return e = n.dom.g(e), s == "style" ? e.style.cssText = i : (s = n.dom._NAME_ATTRS[s] || s, e.setAttribute(s, i)), e;
|
|
1306
|
-
}, n.setAttr = n.dom.setAttr, n.dom.setAttrs = function(e, s) {
|
|
1307
|
-
e = n.dom.g(e);
|
|
1308
|
-
for (var i in s)
|
|
1309
|
-
n.dom.setAttr(e, i, s[i]);
|
|
1310
|
-
return e;
|
|
1311
|
-
}, n.setAttrs = n.dom.setAttrs, n.dom.create = function(e, s) {
|
|
1312
|
-
var i = document.createElement(e), r = s || {};
|
|
1313
|
-
return n.dom.setAttrs(i, r);
|
|
1314
|
-
}, n.object = n.object || {}, n.extend = n.object.extend = function(e, s) {
|
|
1315
|
-
for (var i in s)
|
|
1316
|
-
s.hasOwnProperty(i) && (e[i] = s[i]);
|
|
1317
|
-
return e;
|
|
1318
|
-
};
|
|
1319
|
-
var c = function(e, s, i) {
|
|
1320
|
-
try {
|
|
1321
|
-
BMap;
|
|
1322
|
-
} catch (r) {
|
|
1323
|
-
throw Error("Baidu Map JS API is not ready yet!");
|
|
1324
|
-
}
|
|
1325
|
-
!s || s.length < 1 || (this._map = e, this._path = s, this.i = 0, this._setTimeoutQuene = [], this._projection = this._map.getMapType().getProjection(), this._opts = {
|
|
1326
|
-
icon: null,
|
|
1327
|
-
speed: 4e3,
|
|
1328
|
-
defaultContent: "",
|
|
1329
|
-
showInfoWindow: !1
|
|
1330
|
-
}, this._setOptions(i), this._rotation = 0, !this._opts.icon instanceof BMap.Icon && (this._opts.icon = defaultIcon));
|
|
1331
|
-
};
|
|
1332
|
-
c.prototype._setOptions = function(e) {
|
|
1333
|
-
if (e)
|
|
1334
|
-
for (var s in e)
|
|
1335
|
-
e.hasOwnProperty(s) && (this._opts[s] = e[s]);
|
|
1336
|
-
}, c.prototype.start = function() {
|
|
1337
|
-
var e = this, s = e._path.length;
|
|
1338
|
-
if (this._opts.onstart && this._opts.onstart(e), e.i && e.i < s - 1)
|
|
1339
|
-
if (e._fromPause)
|
|
1340
|
-
e._fromStop || e._moveNext(++e.i);
|
|
1341
|
-
else return;
|
|
1342
|
-
else
|
|
1343
|
-
!e._marker && e._addMarker(), e._timeoutFlag = setTimeout(function() {
|
|
1344
|
-
!e._overlay && e._addInfoWin(), e._moveNext(e.i);
|
|
1345
|
-
}, 400);
|
|
1346
|
-
this._fromPause = !1, this._fromStop = !1;
|
|
1347
|
-
}, c.prototype.stop = function() {
|
|
1348
|
-
this.i = 0, this._fromStop = !0, clearInterval(this._intervalFlag), this._clearTimeout();
|
|
1349
|
-
for (var e = 0, s = this._opts.landmarkPois, i = s.length; e < i; e++)
|
|
1350
|
-
s[e].bShow = !1;
|
|
1351
|
-
this._opts.onstop && this._opts.onstop(this);
|
|
1352
|
-
}, c.prototype.pause = function() {
|
|
1353
|
-
clearInterval(this._intervalFlag), this._fromPause = !0, this._clearTimeout(), this._opts.onpause && this._opts.onpause(this);
|
|
1354
|
-
}, c.prototype.hideInfoWindow = function() {
|
|
1355
|
-
this._opts.showInfoWindow = !1, this._overlay && (this._overlay._div.style.visibility = "hidden");
|
|
1356
|
-
}, c.prototype.showInfoWindow = function() {
|
|
1357
|
-
this._opts.showInfoWindow = !0, this._overlay && (this._overlay._div.style.visibility = "visible");
|
|
1358
|
-
}, c.prototype.dispose = function() {
|
|
1359
|
-
clearInterval(this._intervalFlag), this._setTimeoutQuene && this._clearTimeout(), this._map && (this._map.removeOverlay(this._overlay), this._map.removeOverlay(this._marker));
|
|
1360
|
-
}, n.object.extend(c.prototype, {
|
|
1361
|
-
_addMarker: function(e) {
|
|
1362
|
-
this._marker && (this.stop(), this._map.removeOverlay(this._marker), clearTimeout(this._timeoutFlag)), this._overlay && this._map.removeOverlay(this._overlay);
|
|
1363
|
-
var s = new BMap.Marker(this._path[0]);
|
|
1364
|
-
this._opts.icon && s.setIcon(this._opts.icon), this._map.addOverlay(s), s.setAnimation(BMAP_ANIMATION_DROP), this._marker = s;
|
|
1365
|
-
},
|
|
1366
|
-
_addInfoWin: function() {
|
|
1367
|
-
var e = this;
|
|
1368
|
-
!y.prototype.initialize && m();
|
|
1369
|
-
var s = new y(e._marker.getPosition(), e._opts.defaultContent);
|
|
1370
|
-
s.setRelatedClass(this), this._overlay = s, this._map.addOverlay(s), this._opts.showInfoWindow ? this.showInfoWindow() : this.hideInfoWindow();
|
|
1371
|
-
},
|
|
1372
|
-
_getMercator: function(e) {
|
|
1373
|
-
return this._map.getMapType().getProjection().lngLatToPoint(e);
|
|
1374
|
-
},
|
|
1375
|
-
_getDistance: function(e, s) {
|
|
1376
|
-
return Math.sqrt(Math.pow(e.x - s.x, 2) + Math.pow(e.y - s.y, 2));
|
|
1377
|
-
},
|
|
1378
|
-
_move: function(e, s, i) {
|
|
1379
|
-
var r = this, p = 0, d = 10, f = this._opts.speed / (1e3 / d), o = this._projection.lngLatToPoint(e), u = this._projection.lngLatToPoint(s), v = Math.round(r._getDistance(o, u) / f);
|
|
1380
|
-
if (v < 1) {
|
|
1381
|
-
r._moveNext(++r.i);
|
|
1382
|
-
return;
|
|
1383
|
-
}
|
|
1384
|
-
r._intervalFlag = setInterval(function() {
|
|
1385
|
-
if (p >= v) {
|
|
1386
|
-
if (clearInterval(r._intervalFlag), r.i > r._path.length)
|
|
1387
|
-
return;
|
|
1388
|
-
r._moveNext(++r.i), r._opts.onmove(r);
|
|
1389
|
-
} else {
|
|
1390
|
-
p++;
|
|
1391
|
-
var w = i(o.x, u.x, p, v), h = i(o.y, u.y, p, v), x = r._projection.pointToLngLat(new BMap.Pixel(w, h));
|
|
1392
|
-
if (p == 1) {
|
|
1393
|
-
var k = null;
|
|
1394
|
-
r.i - 1 >= 0 && (k = r._path[r.i - 1]), r._opts.enableRotation == !0 && r.setRotation(k, e, s), r._opts.autoView && (r._map.getBounds().containsPoint(x) || r._map.setCenter(x));
|
|
1395
|
-
}
|
|
1396
|
-
r._marker.setPosition(x), r._setInfoWin(x);
|
|
1397
|
-
}
|
|
1398
|
-
}, d);
|
|
1399
|
-
},
|
|
1400
|
-
setRotation: function(e, s, i) {
|
|
1401
|
-
var r = this, p = 0;
|
|
1402
|
-
if (s = r._map.pointToPixel(s), i = r._map.pointToPixel(i), i.x != s.x) {
|
|
1403
|
-
var d = (i.y - s.y) / (i.x - s.x), f = Math.atan(d);
|
|
1404
|
-
p = f * 360 / (2 * Math.PI), i.x < s.x ? p = -p + 90 + 90 : p = -p, r._marker.setRotation(-p);
|
|
1405
|
-
} else {
|
|
1406
|
-
var o = i.y - s.y, u = 0;
|
|
1407
|
-
o > 0 ? u = -1 : u = 1, r._marker.setRotation(-u * 90);
|
|
1408
|
-
}
|
|
1409
|
-
},
|
|
1410
|
-
linePixellength: function(e, s) {
|
|
1411
|
-
return Math.sqrt(Math.abs(e.x - s.x) * Math.abs(e.x - s.x) + Math.abs(e.y - s.y) * Math.abs(e.y - s.y));
|
|
1412
|
-
},
|
|
1413
|
-
pointToPoint: function(e, s) {
|
|
1414
|
-
return Math.abs(e.x - s.x) * Math.abs(e.x - s.x) + Math.abs(e.y - s.y) * Math.abs(e.y - s.y);
|
|
1415
|
-
},
|
|
1416
|
-
_moveNext: function(e) {
|
|
1417
|
-
var s = this;
|
|
1418
|
-
e < this._path.length - 1 ? s._move(s._path[e], s._path[e + 1], s._tween.linear) : s.stop();
|
|
1419
|
-
},
|
|
1420
|
-
moveNext: function(e) {
|
|
1421
|
-
var s = this;
|
|
1422
|
-
e < this._path.length - 1 ? s._move(s._path[e], s._path[e + 1], s._tween.linear) : s.stop();
|
|
1423
|
-
},
|
|
1424
|
-
_setInfoWin: function(e) {
|
|
1425
|
-
var s = this;
|
|
1426
|
-
s._overlay.setPosition(e, s._marker.getIcon().size);
|
|
1427
|
-
var i = s._troughPointIndex(e);
|
|
1428
|
-
i != -1 ? (clearInterval(s._intervalFlag), s._overlay.setHtml(s._opts.landmarkPois[i].html), s._overlay.setPosition(e, s._marker.getIcon().size), s._pauseForView(i)) : s._overlay.setHtml(s._opts.defaultContent);
|
|
1429
|
-
},
|
|
1430
|
-
_pauseForView: function(e) {
|
|
1431
|
-
var s = this, i = setTimeout(function() {
|
|
1432
|
-
s._moveNext(++s.i);
|
|
1433
|
-
}, s._opts.landmarkPois[e].pauseTime * 1e3);
|
|
1434
|
-
s._setTimeoutQuene.push(i);
|
|
1435
|
-
},
|
|
1436
|
-
_clearTimeout: function() {
|
|
1437
|
-
for (var e in this._setTimeoutQuene)
|
|
1438
|
-
clearTimeout(this._setTimeoutQuene[e]);
|
|
1439
|
-
this._setTimeoutQuene.length = 0;
|
|
1440
|
-
},
|
|
1441
|
-
_tween: {
|
|
1442
|
-
linear: function(e, s, i, r) {
|
|
1443
|
-
var p = e, d = s - e, f = i, o = r;
|
|
1444
|
-
return d * f / o + p;
|
|
1445
|
-
}
|
|
1446
|
-
},
|
|
1447
|
-
_troughPointIndex: function(e) {
|
|
1448
|
-
for (var s = this._opts.landmarkPois, i, r = 0, p = s.length; r < p; r++)
|
|
1449
|
-
if (!s[r].bShow && (i = this._map.getDistance(new BMap.Point(s[r].lng, s[r].lat), e), i < 10))
|
|
1450
|
-
return s[r].bShow = !0, r;
|
|
1451
|
-
return -1;
|
|
1452
|
-
}
|
|
1453
|
-
});
|
|
1454
|
-
function y(e, s) {
|
|
1455
|
-
this._point = e, this._html = s;
|
|
1456
|
-
}
|
|
1457
|
-
function m() {
|
|
1458
|
-
y.prototype = new BMap.Overlay(), y.prototype.initialize = function(e) {
|
|
1459
|
-
var s = this._div = n.dom.create("div", { style: "border:solid 1px #ccc;width:auto;min-width:50px;text-align:center;position:absolute;background:#fff;color:#000;font-size:12px;border-radius: 10px;padding:5px;white-space: nowrap;" });
|
|
1460
|
-
return s.innerHTML = this._html, e.getPanes().floatPane.appendChild(s), this._map = e, s;
|
|
1461
|
-
}, y.prototype.draw = function() {
|
|
1462
|
-
this.setPosition(this.lushuMain._marker.getPosition(), this.lushuMain._marker.getIcon().size);
|
|
1463
|
-
}, n.object.extend(y.prototype, {
|
|
1464
|
-
setPosition: function(e, s) {
|
|
1465
|
-
var i = this._map.pointToOverlayPixel(e), r = n.dom.getStyle(this._div, "width"), p = n.dom.getStyle(this._div, "height"), d = parseInt(this._div.clientWidth || r, 10);
|
|
1466
|
-
parseInt(this._div.clientHeight || p, 10), this._div.style.left = i.x - d / 2 + "px", this._div.style.bottom = -(i.y - s.height) + "px";
|
|
1467
|
-
},
|
|
1468
|
-
setHtml: function(e) {
|
|
1469
|
-
this._div.innerHTML = e;
|
|
1470
|
-
},
|
|
1471
|
-
setRelatedClass: function(e) {
|
|
1472
|
-
this.lushuMain = e;
|
|
1473
|
-
}
|
|
1474
|
-
});
|
|
1475
|
-
}
|
|
1476
|
-
return c;
|
|
1477
|
-
});
|
|
1478
|
-
})(zt);
|
|
1479
|
-
var Tt = { exports: {} };
|
|
1480
|
-
(function(t, l) {
|
|
1481
|
-
(function(n, c) {
|
|
1482
|
-
t.exports = c();
|
|
1483
|
-
})(N, function() {
|
|
1484
|
-
function n(m, e, s) {
|
|
1485
|
-
var i, r, p = m.prototype, d = new Function();
|
|
1486
|
-
d.prototype = e.prototype, r = m.prototype = new d();
|
|
1487
|
-
for (i in p)
|
|
1488
|
-
r[i] = p[i];
|
|
1489
|
-
m.prototype.constructor = m, m.superClass = e.prototype, r._className = s;
|
|
1490
|
-
}
|
|
1491
|
-
var c = (function() {
|
|
1492
|
-
var m = function(r) {
|
|
1493
|
-
var p = {
|
|
1494
|
-
data: [],
|
|
1495
|
-
heatmap: r
|
|
1496
|
-
};
|
|
1497
|
-
this.max = 1, this.get = function(d) {
|
|
1498
|
-
return p[d];
|
|
1499
|
-
}, this.set = function(d, f) {
|
|
1500
|
-
p[d] = f;
|
|
1501
|
-
};
|
|
1502
|
-
};
|
|
1503
|
-
m.prototype = {
|
|
1504
|
-
addDataPoint: function(i, r) {
|
|
1505
|
-
if (!(i < 0 || r < 0)) {
|
|
1506
|
-
var p = this, d = p.get("heatmap"), f = p.get("data");
|
|
1507
|
-
if (f[i] || (f[i] = []), f[i][r] || (f[i][r] = 0), f[i][r] += arguments.length < 3 ? 1 : arguments[2], p.set("data", f), p.max < f[i][r]) {
|
|
1508
|
-
d.get("actx").clearRect(0, 0, d.get("width"), d.get("height")), p.setDataSet({ max: f[i][r], data: f }, !0);
|
|
1509
|
-
return;
|
|
1510
|
-
}
|
|
1511
|
-
d.drawAlpha(i, r, f[i][r], !0);
|
|
1512
|
-
}
|
|
1513
|
-
},
|
|
1514
|
-
setDataSet: function(i, r) {
|
|
1515
|
-
var p = this, d = p.get("heatmap"), f = [], o = i.data, u = o.length;
|
|
1516
|
-
if (d.clear(), this.max = i.max, d.get("legend") && d.get("legend").update(i.max), r != null && r) {
|
|
1517
|
-
for (var v in o)
|
|
1518
|
-
if (v !== void 0)
|
|
1519
|
-
for (var w in o[v])
|
|
1520
|
-
w !== void 0 && d.drawAlpha(v, w, o[v][w], !1);
|
|
1521
|
-
} else
|
|
1522
|
-
for (; u--; ) {
|
|
1523
|
-
var h = o[u];
|
|
1524
|
-
d.drawAlpha(h.x, h.y, h.count, !1), f[h.x] || (f[h.x] = []), f[h.x][h.y] || (f[h.x][h.y] = 0), f[h.x][h.y] = h.count;
|
|
1525
|
-
}
|
|
1526
|
-
d.colorize(), this.set("data", o);
|
|
1527
|
-
},
|
|
1528
|
-
exportDataSet: function() {
|
|
1529
|
-
var i = this, r = i.get("data"), p = [];
|
|
1530
|
-
for (var d in r)
|
|
1531
|
-
if (d !== void 0)
|
|
1532
|
-
for (var f in r[d])
|
|
1533
|
-
f !== void 0 && p.push({ x: parseInt(d, 10), y: parseInt(f, 10), count: r[d][f] });
|
|
1534
|
-
return { max: i.max, data: p };
|
|
1535
|
-
},
|
|
1536
|
-
generateRandomDataSet: function(i) {
|
|
1537
|
-
var r = this.get("heatmap"), p = r.get("width"), d = r.get("height"), f = {}, o = Math.floor(Math.random() * 1e3 + 1);
|
|
1538
|
-
f.max = o;
|
|
1539
|
-
for (var u = []; i--; )
|
|
1540
|
-
u.push({ x: Math.floor(Math.random() * p + 1), y: Math.floor(Math.random() * d + 1), count: Math.floor(Math.random() * o + 1) });
|
|
1541
|
-
f.data = u, this.setDataSet(f);
|
|
1542
|
-
}
|
|
1543
|
-
};
|
|
1544
|
-
var e = function(r) {
|
|
1545
|
-
this.config = r;
|
|
1546
|
-
var p = {
|
|
1547
|
-
element: null,
|
|
1548
|
-
labelsEl: null,
|
|
1549
|
-
gradientCfg: null,
|
|
1550
|
-
ctx: null
|
|
1551
|
-
};
|
|
1552
|
-
this.get = function(d) {
|
|
1553
|
-
return p[d];
|
|
1554
|
-
}, this.set = function(d, f) {
|
|
1555
|
-
p[d] = f;
|
|
1556
|
-
}, this.init();
|
|
1557
|
-
};
|
|
1558
|
-
e.prototype = {
|
|
1559
|
-
init: function() {
|
|
1560
|
-
var i = this, r = i.config, p = r.title || "Legend", d = r.position, f = r.offset || 10;
|
|
1561
|
-
r.gradient;
|
|
1562
|
-
var o = document.createElement("ul"), u, v, w = "";
|
|
1563
|
-
i.processGradientObject(), d.indexOf("t") > -1 ? w += "top:" + f + "px;" : w += "bottom:" + f + "px;", d.indexOf("l") > -1 ? w += "left:" + f + "px;" : w += "right:" + f + "px;", u = document.createElement("div"), u.style.cssText = "border-radius:5px;position:absolute;" + w + "font-family:Helvetica; width:256px;z-index:10000000000; background:rgba(255,255,255,1);padding:10px;border:1px solid black;margin:0;", u.innerHTML = "<h3 style='padding:0;margin:0;text-align:center;font-size:16px;'>" + p + "</h3>", o.style.cssText = "position:relative;font-size:12px;display:block;list-style:none;list-style-type:none;margin:0;height:15px;", v = document.createElement("div"), v.style.cssText = ["position:relative;display:block;width:256px;height:15px;border-bottom:1px solid black; background-image:url(", i.createGradientImage(), ");"].join(""), u.appendChild(o), u.appendChild(v), i.set("element", u), i.set("labelsEl", o), i.update(1);
|
|
1564
|
-
},
|
|
1565
|
-
processGradientObject: function() {
|
|
1566
|
-
var i = this, r = this.config.gradient, p = [];
|
|
1567
|
-
for (var d in r)
|
|
1568
|
-
r.hasOwnProperty(d) && p.push({ stop: d, value: r[d] });
|
|
1569
|
-
p.sort(function(f, o) {
|
|
1570
|
-
return f.stop - o.stop;
|
|
1571
|
-
}), p.unshift({ stop: 0, value: "rgba(0,0,0,0)" }), i.set("gradientArr", p);
|
|
1572
|
-
},
|
|
1573
|
-
createGradientImage: function() {
|
|
1574
|
-
var i = this, r = i.get("gradientArr"), p = r.length, d = document.createElement("canvas"), f = d.getContext("2d"), o;
|
|
1575
|
-
d.width = "256", d.height = "15", o = f.createLinearGradient(0, 5, 256, 10);
|
|
1576
|
-
for (var u = 0; u < p; u++)
|
|
1577
|
-
o.addColorStop(1 / (p - 1) * u, r[u].value);
|
|
1578
|
-
f.fillStyle = o, f.fillRect(0, 5, 256, 10), f.strokeStyle = "black", f.beginPath();
|
|
1579
|
-
for (var u = 0; u < p; u++)
|
|
1580
|
-
f.moveTo((1 / (p - 1) * u * 256 >> 0) + 0.5, 0), f.lineTo((1 / (p - 1) * u * 256 >> 0) + 0.5, u == 0 ? 15 : 5);
|
|
1581
|
-
return f.moveTo(255.5, 0), f.lineTo(255.5, 15), f.moveTo(255.5, 4.5), f.lineTo(0, 4.5), f.stroke(), i.set("ctx", f), d.toDataURL();
|
|
1582
|
-
},
|
|
1583
|
-
getElement: function() {
|
|
1584
|
-
return this.get("element");
|
|
1585
|
-
},
|
|
1586
|
-
update: function(i) {
|
|
1587
|
-
for (var r = this, p = r.get("gradientArr"), d = r.get("ctx"), f = r.get("labelsEl"), o, u = "", v, w = 0; w < p.length; w++)
|
|
1588
|
-
o = i * p[w].stop >> 0, v = d.measureText(o).width / 2 >> 0, w == 0 && (v = 0), w == p.length - 1 && (v *= 2), u += '<li style="position:absolute;left:' + (((1 / (p.length - 1) * w * 256 || 0) >> 0) - v + 0.5) + 'px">' + o + "</li>";
|
|
1589
|
-
f.innerHTML = u;
|
|
1590
|
-
}
|
|
1591
|
-
};
|
|
1592
|
-
var s = function(r) {
|
|
1593
|
-
var p = {
|
|
1594
|
-
radius: 40,
|
|
1595
|
-
element: {},
|
|
1596
|
-
canvas: {},
|
|
1597
|
-
acanvas: {},
|
|
1598
|
-
ctx: {},
|
|
1599
|
-
actx: {},
|
|
1600
|
-
legend: null,
|
|
1601
|
-
visible: !0,
|
|
1602
|
-
width: 0,
|
|
1603
|
-
height: 0,
|
|
1604
|
-
max: !1,
|
|
1605
|
-
gradient: !1,
|
|
1606
|
-
opacity: 180,
|
|
1607
|
-
premultiplyAlpha: !1,
|
|
1608
|
-
bounds: {
|
|
1609
|
-
l: 1e3,
|
|
1610
|
-
r: 0,
|
|
1611
|
-
t: 1e3,
|
|
1612
|
-
b: 0
|
|
1613
|
-
},
|
|
1614
|
-
debug: !1
|
|
1615
|
-
};
|
|
1616
|
-
this.store = new m(this), this.get = function(d) {
|
|
1617
|
-
return p[d];
|
|
1618
|
-
}, this.set = function(d, f) {
|
|
1619
|
-
p[d] = f;
|
|
1620
|
-
}, this.configure(r), this.init();
|
|
1621
|
-
};
|
|
1622
|
-
return s.prototype = {
|
|
1623
|
-
configure: function(i) {
|
|
1624
|
-
var r = this;
|
|
1625
|
-
if (r.set("radius", i.radius || 40), r.set("element", i.element instanceof Object ? i.element : document.getElementById(i.element)), r.set("visible", i.visible != null ? i.visible : !0), r.set("max", i.max || !1), r.set("gradient", i.gradient || { 0.45: "rgb(0,0,255)", 0.55: "rgb(0,255,255)", 0.65: "rgb(0,255,0)", 0.95: "yellow", 1: "rgb(255,0,0)" }), r.set("opacity", parseInt(255 / (100 / i.opacity), 10) || 180), r.set("width", i.width || 0), r.set("height", i.height || 0), r.set("debug", i.debug), i.legend) {
|
|
1626
|
-
var p = i.legend;
|
|
1627
|
-
p.gradient = r.get("gradient"), r.set("legend", new e(p));
|
|
1628
|
-
}
|
|
1629
|
-
},
|
|
1630
|
-
resize: function() {
|
|
1631
|
-
var i = this, r = i.get("element"), p = i.get("canvas"), d = i.get("acanvas");
|
|
1632
|
-
p.width = d.width = i.get("width") || r.style.width.replace(/px/, "") || i.getWidth(r), this.set("width", p.width), p.height = d.height = i.get("height") || r.style.height.replace(/px/, "") || i.getHeight(r), this.set("height", p.height);
|
|
1633
|
-
},
|
|
1634
|
-
init: function() {
|
|
1635
|
-
var i = this, r = document.createElement("canvas"), p = document.createElement("canvas"), d = r.getContext("2d"), f = p.getContext("2d"), o = i.get("element");
|
|
1636
|
-
i.initColorPalette(), i.set("canvas", r), i.set("ctx", d), i.set("acanvas", p), i.set("actx", f), i.resize(), r.style.cssText = p.style.cssText = "position:absolute;top:0;left:0;z-index:10000000;", i.get("visible") || (r.style.display = "none"), o.appendChild(r), i.get("legend") && o.appendChild(i.get("legend").getElement()), i.get("debug") && document.body.appendChild(p), f.shadowOffsetX = 15e3, f.shadowOffsetY = 15e3, f.shadowBlur = 15;
|
|
1637
|
-
},
|
|
1638
|
-
initColorPalette: function() {
|
|
1639
|
-
var i = this, r = document.createElement("canvas"), p = i.get("gradient"), d, f, o;
|
|
1640
|
-
r.width = "1", r.height = "256", d = r.getContext("2d"), f = d.createLinearGradient(0, 0, 1, 256), o = d.getImageData(0, 0, 1, 1), o.data[0] = o.data[3] = 64, o.data[1] = o.data[2] = 0, d.putImageData(o, 0, 0), o = d.getImageData(0, 0, 1, 1), i.set("premultiplyAlpha", o.data[0] < 60 || o.data[0] > 70);
|
|
1641
|
-
for (var u in p)
|
|
1642
|
-
f.addColorStop(u, p[u]);
|
|
1643
|
-
d.fillStyle = f, d.fillRect(0, 0, 1, 256), i.set("gradient", d.getImageData(0, 0, 1, 256).data);
|
|
1644
|
-
},
|
|
1645
|
-
getWidth: function(i) {
|
|
1646
|
-
var r = i.offsetWidth;
|
|
1647
|
-
return i.style.paddingLeft && (r += i.style.paddingLeft), i.style.paddingRight && (r += i.style.paddingRight), r;
|
|
1648
|
-
},
|
|
1649
|
-
getHeight: function(i) {
|
|
1650
|
-
var r = i.offsetHeight;
|
|
1651
|
-
return i.style.paddingTop && (r += i.style.paddingTop), i.style.paddingBottom && (r += i.style.paddingBottom), r;
|
|
1652
|
-
},
|
|
1653
|
-
colorize: function(i, r) {
|
|
1654
|
-
var p = this, d = p.get("width"), f = p.get("radius"), o = p.get("height"), u = p.get("actx"), v = p.get("ctx"), w = f * 3, h = p.get("premultiplyAlpha"), x = p.get("gradient"), k = p.get("opacity"), z = p.get("bounds"), C, a, g, _, M, b, S, B, P;
|
|
1655
|
-
i != null && r != null ? (i + w > d && (i = d - w), i < 0 && (i = 0), r < 0 && (r = 0), r + w > o && (r = o - w), C = i, a = r, _ = i + w, g = r + w) : (z.l < 0 ? C = 0 : C = z.l, z.r > d ? _ = d : _ = z.r, z.t < 0 ? a = 0 : a = z.t, z.b > o ? g = o : g = z.b), M = u.getImageData(C, a, _ - C, g - a), b = M.data.length;
|
|
1656
|
-
for (var O = 3; O < b; O += 4)
|
|
1657
|
-
S = M.data[O], B = S * 4, B && (P = S < k ? S : k, M.data[O - 3] = x[B], M.data[O - 2] = x[B + 1], M.data[O - 1] = x[B + 2], h && (M.data[O - 3] /= 255 / P, M.data[O - 2] /= 255 / P, M.data[O - 1] /= 255 / P), M.data[O] = P);
|
|
1658
|
-
v.putImageData(M, C, a);
|
|
1659
|
-
},
|
|
1660
|
-
drawAlpha: function(i, r, p, d) {
|
|
1661
|
-
var f = this, o = f.get("radius"), u = f.get("actx");
|
|
1662
|
-
f.get("max");
|
|
1663
|
-
var v = f.get("bounds"), w = i - 1.5 * o >> 0, h = r - 1.5 * o >> 0, x = i + 1.5 * o >> 0, k = r + 1.5 * o >> 0;
|
|
1664
|
-
u.shadowColor = "rgba(0,0,0," + (p ? p / f.store.max : "0.1") + ")", u.shadowOffsetX = 15e3, u.shadowOffsetY = 15e3, u.shadowBlur = 15, u.beginPath(), u.arc(i - 15e3, r - 15e3, o, 0, Math.PI * 2, !0), u.closePath(), u.fill(), d ? f.colorize(w, h) : (w < v.l && (v.l = w), h < v.t && (v.t = h), x > v.r && (v.r = x), k > v.b && (v.b = k));
|
|
1665
|
-
},
|
|
1666
|
-
toggleDisplay: function() {
|
|
1667
|
-
var i = this, r = i.get("visible"), p = i.get("canvas");
|
|
1668
|
-
r ? p.style.display = "none" : p.style.display = "block", i.set("visible", !r);
|
|
1669
|
-
},
|
|
1670
|
-
getImageData: function() {
|
|
1671
|
-
return this.get("canvas").toDataURL();
|
|
1672
|
-
},
|
|
1673
|
-
clear: function() {
|
|
1674
|
-
var i = this, r = i.get("width"), p = i.get("height");
|
|
1675
|
-
i.store.set("data", []), i.get("ctx").clearRect(0, 0, r, p), i.get("actx").clearRect(0, 0, r, p);
|
|
1676
|
-
},
|
|
1677
|
-
cleanup: function() {
|
|
1678
|
-
var i = this;
|
|
1679
|
-
i.get("element").removeChild(i.get("canvas"));
|
|
1680
|
-
}
|
|
1681
|
-
}, {
|
|
1682
|
-
create: function(i) {
|
|
1683
|
-
return new s(i);
|
|
1684
|
-
},
|
|
1685
|
-
util: {
|
|
1686
|
-
mousePosition: function(i) {
|
|
1687
|
-
var r, p;
|
|
1688
|
-
if (i.layerX ? (r = i.layerX, p = i.layerY) : i.offsetX && (r = i.offsetX, p = i.offsetY), typeof r != "undefined")
|
|
1689
|
-
return [r, p];
|
|
1690
|
-
}
|
|
1691
|
-
}
|
|
1692
|
-
};
|
|
1693
|
-
})(), y = function(m) {
|
|
1694
|
-
try {
|
|
1695
|
-
BMap;
|
|
1696
|
-
} catch (s) {
|
|
1697
|
-
throw Error("Baidu Map JS API is not ready yet!");
|
|
1698
|
-
}
|
|
1699
|
-
if (!y._isExtended) {
|
|
1700
|
-
y._isExtended = !0, n(y, BMap.Overlay, "HeatmapOverlay");
|
|
1701
|
-
var e = new y(m);
|
|
1702
|
-
this.__proto__ = e.__proto__;
|
|
1703
|
-
}
|
|
1704
|
-
this.conf = m, this.heatmap = null, this.latlngs = [], this.bounds = null, this._moveendHandler = this._moveendHandler.bind(this);
|
|
1705
|
-
};
|
|
1706
|
-
return y.prototype.initialize = function(m) {
|
|
1707
|
-
this._map = m;
|
|
1708
|
-
var e = document.createElement("div");
|
|
1709
|
-
return e.style.position = "absolute", e.style.top = 0, e.style.left = 0, e.style.border = 0, e.style.width = this._map.getSize().width + "px", e.style.height = this._map.getSize().height + "px", this.conf.element = e, m.getPanes().mapPane.appendChild(e), this.heatmap = c.create(this.conf), this._div = e, e;
|
|
1710
|
-
}, y.prototype.draw = function() {
|
|
1711
|
-
var m = this._map.getBounds();
|
|
1712
|
-
if (!m.equals(this.bounds)) {
|
|
1713
|
-
this.bounds = m;
|
|
1714
|
-
var e = this._map.pointToOverlayPixel(m.getNorthEast()), s = this._map.pointToOverlayPixel(m.getSouthWest());
|
|
1715
|
-
if (!(!e || !s)) {
|
|
1716
|
-
var i = e.y, r = s.x, p = s.y - e.y, d = e.x - s.x;
|
|
1717
|
-
if (this.conf.element.style.left = r + "px", this.conf.element.style.top = i + "px", this.conf.element.style.width = d + "px", this.conf.element.style.height = p + "px", this.heatmap.store.get("heatmap").resize(), this.latlngs.length > 0) {
|
|
1718
|
-
this.heatmap.clear();
|
|
1719
|
-
for (var f = this.latlngs.length, o = {
|
|
1720
|
-
max: this.heatmap.store.max,
|
|
1721
|
-
data: []
|
|
1722
|
-
}; f--; ) {
|
|
1723
|
-
var u = this.latlngs[f].latlng;
|
|
1724
|
-
if (m.containsPoint(u)) {
|
|
1725
|
-
var v = this._map.pointToOverlayPixel(u), w = new BMap.Pixel(v.x - r, v.y - i), h = this.pixelTransform(w);
|
|
1726
|
-
o.data.push({
|
|
1727
|
-
x: h.x,
|
|
1728
|
-
y: h.y,
|
|
1729
|
-
count: this.latlngs[f].c
|
|
1730
|
-
});
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
this.heatmap.store.setDataSet(o);
|
|
1734
|
-
}
|
|
1735
|
-
}
|
|
1736
|
-
}
|
|
1737
|
-
}, y.prototype.pixelTransform = function(m) {
|
|
1738
|
-
for (var e = this.heatmap.get("width"), s = this.heatmap.get("height"); m.x < 0; )
|
|
1739
|
-
m.x += e;
|
|
1740
|
-
for (; m.x > e; )
|
|
1741
|
-
m.x -= e;
|
|
1742
|
-
for (; m.y < 0; )
|
|
1743
|
-
m.y += s;
|
|
1744
|
-
for (; m.y > s; )
|
|
1745
|
-
m.y -= s;
|
|
1746
|
-
return m.x = m.x >> 0, m.y = m.y >> 0, m;
|
|
1747
|
-
}, y.prototype._moveendHandler = function(m) {
|
|
1748
|
-
this.setDataSet(this._data), delete this._data, this._map.removeEventListener("moveend", this._moveendHandler);
|
|
1749
|
-
}, y.prototype.setDataSet = function(m) {
|
|
1750
|
-
if (this._map) {
|
|
1751
|
-
var e = this._map.getBounds(), s = this._map.pointToOverlayPixel(e.getNorthEast()), i = this._map.pointToOverlayPixel(e.getSouthWest());
|
|
1752
|
-
(!s || !i) && (this._data = m, this._map.addEventListener("moveend", this._moveendHandler));
|
|
1753
|
-
var r = {
|
|
1754
|
-
max: m.max,
|
|
1755
|
-
data: []
|
|
1756
|
-
}, p = m.data, d = p.length;
|
|
1757
|
-
for (this.latlngs = []; d--; ) {
|
|
1758
|
-
var f = new BMap.Point(p[d].lng, p[d].lat);
|
|
1759
|
-
if (this.latlngs.push({
|
|
1760
|
-
latlng: f,
|
|
1761
|
-
c: p[d].count
|
|
1762
|
-
}), !!e.containsPoint(f)) {
|
|
1763
|
-
var o = this._map.pointToOverlayPixel(f), u = this._map.pointToOverlayPixel(e.getSouthWest()).x, v = this._map.pointToOverlayPixel(e.getNorthEast()).y, w = new BMap.Pixel(o.x - u, o.y - v), h = this.pixelTransform(w);
|
|
1764
|
-
r.data.push({
|
|
1765
|
-
x: h.x,
|
|
1766
|
-
y: h.y,
|
|
1767
|
-
count: p[d].count
|
|
1768
|
-
});
|
|
1769
|
-
}
|
|
1770
|
-
}
|
|
1771
|
-
this.heatmap.clear(), this.heatmap.store.setDataSet(r);
|
|
1772
|
-
}
|
|
1773
|
-
}, y.prototype.addDataPoint = function(m, e, s) {
|
|
1774
|
-
var i = new BMap.Point(m, e), r = this.pixelTransform(this._map.pointToOverlayPixel(i));
|
|
1775
|
-
this.heatmap.store.addDataPoint(r.x, r.y, s), this.latlngs.push({
|
|
1776
|
-
latlng: i,
|
|
1777
|
-
c: s
|
|
1778
|
-
});
|
|
1779
|
-
}, y.prototype.toggle = function() {
|
|
1780
|
-
this.heatmap.toggleDisplay();
|
|
1781
|
-
}, y;
|
|
1782
|
-
});
|
|
1783
|
-
})(Tt);
|
|
1784
|
-
var Et = { exports: {} };
|
|
1785
|
-
(function(t, l) {
|
|
1786
|
-
(function(n, c) {
|
|
1787
|
-
t.exports = c();
|
|
1788
|
-
})(N, function() {
|
|
1789
|
-
function n(m, e) {
|
|
1790
|
-
try {
|
|
1791
|
-
BMap;
|
|
1792
|
-
} catch (r) {
|
|
1793
|
-
throw Error("Baidu Map JS API is not ready yet!");
|
|
1794
|
-
}
|
|
1795
|
-
var s = c(m), i = new BMap.Polyline(s, e);
|
|
1796
|
-
return i.addEventListener("lineupdate", function() {
|
|
1797
|
-
this.isEditing && this.enableEditing();
|
|
1798
|
-
}), i.cornerPoints = m, i.editMarkers = [], i.enableEditing = function() {
|
|
1799
|
-
var r = this;
|
|
1800
|
-
if (r.map) {
|
|
1801
|
-
r.disableEditing();
|
|
1802
|
-
for (var p = 0; p < r.cornerPoints.length; p++) {
|
|
1803
|
-
var d = new BMap.Marker(r.cornerPoints[p], {
|
|
1804
|
-
icon: new BMap.Icon("http://api.map.baidu.com/library/CurveLine/1.5/src/circle.png", new BMap.Size(16, 16)),
|
|
1805
|
-
enableDragging: !0,
|
|
1806
|
-
raiseOnDrag: !0
|
|
1807
|
-
});
|
|
1808
|
-
d.addEventListener("dragend", function() {
|
|
1809
|
-
r.cornerPoints.length = 0;
|
|
1810
|
-
for (var f = 0; f < r.editMarkers.length; f++)
|
|
1811
|
-
r.cornerPoints.push(r.editMarkers[f].getPosition());
|
|
1812
|
-
var o = c(r.cornerPoints);
|
|
1813
|
-
r.setPath(o);
|
|
1814
|
-
}), d.index = p, r.editMarkers.push(d), r.map.addOverlay(d);
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
r.isEditing = !0;
|
|
1818
|
-
}, i.disableEditing = function() {
|
|
1819
|
-
this.isEditing = !1;
|
|
1820
|
-
for (var r = 0; r < this.editMarkers.length; r++)
|
|
1821
|
-
this.map.removeOverlay(this.editMarkers[r]), this.editMarkers[r] = null;
|
|
1822
|
-
this.editMarkers.length = 0;
|
|
1823
|
-
}, i.getPath = function() {
|
|
1824
|
-
return s;
|
|
1825
|
-
}, i;
|
|
1826
|
-
}
|
|
1827
|
-
function c(m) {
|
|
1828
|
-
for (var e = [], s = 0; s < m.length - 1; s++) {
|
|
1829
|
-
var i = y(m[s], m[s + 1]);
|
|
1830
|
-
i && i.length > 0 && (e = e.concat(i));
|
|
1831
|
-
}
|
|
1832
|
-
return e;
|
|
1833
|
-
}
|
|
1834
|
-
function y(m, e) {
|
|
1835
|
-
var s = [];
|
|
1836
|
-
if (!m || !e || !(m instanceof BMap.Point) || !(e instanceof BMap.Point))
|
|
1837
|
-
return null;
|
|
1838
|
-
var i = function(_) {
|
|
1839
|
-
return 1 - 2 * _ + _ * _;
|
|
1840
|
-
}, r = function(_) {
|
|
1841
|
-
return 2 * _ - 2 * _ * _;
|
|
1842
|
-
}, p = function(_) {
|
|
1843
|
-
return _ * _;
|
|
1844
|
-
}, d = 30, f, o, u, v, w, h, x = 0, k = 0;
|
|
1845
|
-
if (typeof e == "undefined") {
|
|
1846
|
-
typeof s != "undefined" && (s = []);
|
|
1847
|
-
return;
|
|
1848
|
-
}
|
|
1849
|
-
var z = parseFloat(m.lat), C = parseFloat(e.lat), a = parseFloat(m.lng), g = parseFloat(e.lng);
|
|
1850
|
-
for (g > a && parseFloat(g - a) > 180 && a < 0 && (a = parseFloat(360 + a)), a > g && parseFloat(a - g) > 180 && g < 0 && (g = parseFloat(360 + g)), h = 0, C == z ? (f = 0, o = a - g) : g == a ? (f = Math.PI / 2, o = z - C) : (f = Math.atan((C - z) / (g - a)), o = (C - z) / Math.sin(f)), h == 0 && (h = f + Math.PI / 5), u = o / 2, w = u * Math.cos(h) + a, v = u * Math.sin(h) + z, x = 0; x < d + 1; x++)
|
|
1851
|
-
s.push(new BMap.Point(a * i(k) + w * r(k) + g * p(k), z * i(k) + v * r(k) + C * p(k))), k = k + 1 / d;
|
|
1852
|
-
return s;
|
|
1853
|
-
}
|
|
1854
|
-
return n;
|
|
1855
|
-
});
|
|
1856
|
-
})(Et);
|
|
1857
|
-
const Rt = "data:image/gif;base64,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";
|
|
1858
|
-
export {
|
|
1859
|
-
It as B,
|
|
1860
|
-
Zt as M,
|
|
1861
|
-
Nt as a,
|
|
1862
|
-
Rt as n,
|
|
1863
|
-
At as w
|
|
1864
|
-
};
|