周壕 преди 10 месеца
родител
ревизия
28b13dcec3
променени са 1 файла, в които са добавени 6 реда и са изтрити 6 реда
  1. 6 6
      src/main/resources/static/a4gis/index.html

+ 6 - 6
src/main/resources/static/a4gis/index.html

@@ -187,19 +187,19 @@
       right: 20px;
     }
   </style>
-  <!--测试环境使用-->
+  <!--测试环境使用
   <link href='https://js.arcgis.com/3.27/esri/css/esri.css' rel='stylesheet' />
   <script src='jquery.min.js'></script>
   <script src='https://js.arcgis.com/3.27/init.js' type='text/javascript'></script>
   <script src='init-gmap.js?v=1.15.9' type='text/javascript'></script>
-  <script src='init-gcontrols.js?v=1.0.5' type='text/javascript'></script>
+  <script src='init-gcontrols.js?v=1.0.5' type='text/javascript'></script>-->
 
-  <!--正式环境使用
+  <!--正式环境使用-->
   <link href='http://a4.petrochina/gisapi/esri/css/esri.css' rel='stylesheet' />
   <script src='http://a4.petrochina/gisapi/third/jquery/jquery-1.9.1.min.js'></script>
   <script src='http://a4.petrochina/gisapi/init.js' type='text/javascript'></script>
   <script src='http://a4.petrochina/gisapi/lib/init-gmap.js?v=1.15.9' type='text/javascript'></script>
-  <script src='http://a4.petrochina/gisapi/lib/init-gcontrols.js?v=1.0.5' type='text/javascript'></script>-->
+  <script src='http://a4.petrochina/gisapi/lib/init-gcontrols.js?v=1.0.5' type='text/javascript'></script>
 
   <script>
     var map = null, app = { token: "d4b2b740-9814-4d75-9cda-dac96fc2bc10" };
@@ -346,9 +346,9 @@
           app.fillSymbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new Color([255, 0, 0, 0.65]), 1), new Color([255, 0, 0, 0.35]));
         });
         on(map, "GraphicMouseClick", function (evt) {
-          console.log('q', evt);
+          console.log('GraphicMouseClick', evt);
           // 自定义window方法,vue组件注册,完成vue与iframe的通信,注册方法见baidu-page -> CenterCenter,搜索handleSpanClick
-          window.parent['handleSpanClick'](evt.name, evt.graphic.attributes);
+          //window.parent['handleSpanClick'](evt.name, evt.graphic.attributes);
         });
 
         // 加载地图服务数据