2 lines
4.4 KiB
JavaScript
2 lines
4.4 KiB
JavaScript
/* 2020-9-22 15:23:18 | 版权所有 军懋国兴 */
|
|
!function(){for(var r,s=new RegExp("(^|(.*?\\/))(include-lib.js)(\\?|$)"),e=document.getElementsByTagName("script"),a=0;a<e.length;a++){var t=e[a].getAttribute("src");if(t)if(t.match(s)){r=e[a];break}}window.marsgis_version="2.1.2";var i=new RegExp("\\.css");!function(){var s=(r.getAttribute("include")||"").split(","),e=r.getAttribute("libpath")||"";e.lastIndexOf("/")!=e.length-1&&(e+="/");var a,t={jquery:[e+"jquery/jquery-2.1.4.min.js"],"jquery.scrollTo":[e+"jquery/scrollTo/jquery.scrollTo.min.js"],"jquery.minicolors":[e+"jquery/minicolors/jquery.minicolors.css",e+"jquery/minicolors/jquery.minicolors.min.js"],"jquery.range":[e+"jquery/range/range.css",e+"jquery/range/range.js"],ztree:[e+"jquery/ztree/css/zTreeStyle/zTreeStyle.css",e+"jquery/ztree/css/mars/ztree-mars.css",e+"jquery/ztree/js/jquery.ztree.all.min.js"],jstree:[e+"jstree/themes/default-dark/style.css",e+"jstree/jstree.min.js"],"jquery.mCustomScrollbar":[e+"jquery/mCustomScrollbar/jquery.mCustomScrollbar.css",e+"jquery/mCustomScrollbar/jquery.mCustomScrollbar.js"],jedate:[e+"jquery/jedate/skin/jedate.css",e+"jquery/jedate/jedate.js"],lazyload:[e+"jquery/lazyload/jquery.lazyload.min.js"],"font-awesome":[e+"fonts/font-awesome/css/font-awesome.min.css"],"font-marsgis":[e+"fonts/marsgis/iconfont.css"],"web-icons":[e+"fonts/web-icons/web-icons.css"],animate:[e+"animate/animate.css"],admui:[e+"admui/css/index.css",e+"admui/js/global/core.js",e+"admui/js/global/configs/site-configs.js",e+"admui/js/global/components.js"],"admui-frame":[e+"admui/css/site.css",e+"admui/js/app.js"],bootstrap:[e+"bootstrap/bootstrap.css",e+"bootstrap/bootstrap.min.js"],"bootstrap-table":[e+"bootstrap/bootstrap-table/bootstrap-table.css",e+"bootstrap/bootstrap-table/bootstrap-table.min.js",e+"bootstrap/bootstrap-table/locale/bootstrap-table-zh-CN.js"],"bootstrap-select":[e+"bootstrap/bootstrap-select/bootstrap-select.css",e+"bootstrap/bootstrap-select/bootstrap-select.min.js"],"bootstrap-checkbox":[e+"bootstrap/bootstrap-checkbox/awesome-bootstrap-checkbox.css"],nprogress:[e+"nprogress/nprogress.css",e+"nprogress/nprogress.min.js"],toastr:[e+"toastr/toastr.css",e+"toastr/toastr.js"],formvalidation:[e+"formvalidation/formValidation.css",e+"formvalidation/formValidation.min.js",e+"formvalidation/framework/bootstrap.min.js",e+"formvalidation/language/zh_CN.min.js"],"admin-lte":[e+"fonts/font-awesome/css/font-awesome.min.css",e+"admin-lte/css/AdminLTE.min.css",e+"admin-lte/css/skins/skin-blue.min.css",e+"admin-lte/js/adminlte.min.js"],ace:[e+"ace/ace.js"],layer:[e+"layer/theme/default/layer.css",e+"layer/theme/retina/retina.css",e+"layer/theme/mars/layer.css",e+"layer/layer.js"],haoutil:[e+"hao/haoutil.js",e+"hao/loading/loading.css",e+"hao/loading/loading.js"],echarts:[e+"echarts/echarts.min.js",e+"echarts/dark.js"],"echarts-gl":[e+"echarts/echarts.min.js",e+"echarts/echarts-gl.min.js"],"echarts-forleaflet":[e+"echarts/forleaflet/echarts-3.4.min.js"],mapV:[e+"mapV/mapv.min.js"],highlight:[e+"highlight/styles/foundation.css",e+"highlight/highlight.pack.js"],turf:[e+"turf/turf.min.js"],"esri-leaflet":[e+"leafletjs/plugins/esri/esri-leaflet.js"],"leaflet-wfs":[e+"leafletjs/plugins/wfs/leaflet-wfs.js"],"mars2d-echarts":[e+"echarts/forleaflet/echarts-3.4.min.js",e+"leafletjs/plugins/visual/mars2d-visual.js"],"mars2d-mapv":[e+"mapV/mapv.min.js",e+"leafletjs/plugins/visual/mars2d-visual.js"],mars2d:[e+"leafletjs/leaflet/leaflet.css",e+"leafletjs/leaflet/leaflet.js",e+"leafletjs/mars2d/mars2d.css",e+"leafletjs/mars2d/mars2d.js",e+"leafletjs/plugins/_controls/locate.js"],terraformer:[e+"terraformer/terraformer-1.0.9.min.js",e+"terraformer/terraformer-wkt-parser-1.2.0.min.js"],ammo:[e+"ammo/ammo.js"],kriging:[e+"kriging/kriging.min.js"],"mars3d-visual":[e+"cesiumjs/plugins/visual/mars3d-visual.js"],"mars3d-space":[e+"cesiumjs/plugins/space/mars3d-space.js"],mars3d:[e+"cesiumjs/Cesium/Widgets/widgets.css",e+"cesiumjs/Cesium/Cesium.js",e+"cesiumjs/plugins/compatible/version.js",e+"cesiumjs/mars3d/mars3d.css",e+"cesiumjs/mars3d/mars3d.js",e+"cesiumjs/plugins/navigation/mars3d-navigation.css",e+"cesiumjs/plugins/navigation/mars3d-navigation.js","config/marsUrl.js"]};for(a in s){!function(s){if(null!=s&&0!=s.length)for(var e=0,a=s.length;e<a;e++){var t,r,o=s[e];i.test(o)?(t='<link rel="stylesheet" href="'+o+'">',document.writeln(t)):(r='<script type="text/javascript" src="'+o+'"><\/script>',document.writeln(r))}}(t[s[a]])}}()}(); |