MapEdit.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. <style>
  7. html,
  8. body,
  9. #viewDiv {
  10. padding: 0;
  11. margin: 0;
  12. height: 100%;
  13. width: 100%;
  14. }
  15. .esri-editor .esri-item-list__scroller {
  16. max-height: 350px;
  17. }
  18. </style>
  19. <script src="jquery/jquery-2.2.3.min.js"></script>
  20. <link rel="stylesheet" href="jquery/jquery-ui.min.css">
  21. <script src="jquery/jquery-ui.min.js"></script>
  22. <!--<script src="http://139.196.53.46/arcgis_js_api/library/4.12/init.js"></script>-->
  23. <!--<link rel="stylesheet" href="http://139.196.53.46/arcgis_js_api/library/4.12/esri/themes/light-blue/main.css">-->
  24. <link
  25. rel="stylesheet"
  26. href="https://js.arcgis.com/4.13/esri/themes/light/main.css"
  27. />
  28. <script src="https://js.arcgis.com/4.13/"></script>
  29. <!--系统自定义JS-->
  30. <script src="Common/dataClass/XMLUtil.js"></script> <!--XML操作功能-->
  31. <script src="Common/dataClass/ConfigManager.js"></script>
  32. <script src="Common/dataClass/DataCommonClass.js"></script>
  33. <script src="Common/dataClass/MD5.js"></script>
  34. <script src="Common/dataClass/Base64.js"></script>
  35. <script src="Common/mapClass/MapClass4.js"></script>
  36. <script src="Common/WsCommonClass.js"></script>
  37. <script src="Common/mapClass/GSFunction.js"></script>
  38. <script>
  39. //初始化配置文件
  40. GetConfigData();
  41. require(["dojo/domReady!"
  42. ], function () {
  43. loadMap();
  44. });
  45. function loadMap() {
  46. initMapEdit();
  47. }
  48. function onMapLoaded()
  49. {
  50. removeLoadingDiv();
  51. }
  52. </script>
  53. </head>
  54. <body>
  55. <div id="viewDiv"></div>
  56. <div id="editorDiv"></div>
  57. </body>
  58. </html>