From e5a090685df3d5e96a37b141d9a1d002d36f16f2 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 14 二月 2025 16:53:43 +0800
Subject: [PATCH] 1.web地图添加管网显示。 2.安卓原生添加管网信息的获取。 3.安卓原生添加管网信息的本地持久化(SQLite数据库)。 4.实现图例用户的选择状态按钮的持久化。 5.实现自定义搜索按钮的实现。 6.实现搜索后弹出界面的相关功能开发。

---
 app/src/main/assets/index.html |   44 ++++++++++++++++++++++++--------------------
 1 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/app/src/main/assets/index.html b/app/src/main/assets/index.html
index 69d3cf5..2032c9b 100644
--- a/app/src/main/assets/index.html
+++ b/app/src/main/assets/index.html
@@ -4,32 +4,36 @@
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>澶╁湴鍥�</title>
+    <title>Map Example</title>
     <style>
-       /* 纭繚 body 鍜� html 鍏呮弧鏁翠釜瑙嗗彛 */
+        /* 纭繚 body 鍜� html 鍏呮弧鏁翠釜瑙嗗彛 */
         html, body {
-            margin: 0;
-            padding: 0;
-            width: 100%;
-            height: 100%;
-            overflow: hidden; /* 闃叉婊氬姩鏉″嚭鐜� */
-        }
-     /* 纭繚鍦板浘瀹瑰櫒鍏呮弧鏁翠釜瑙嗗彛 */
-        #mapDiv {
-            width: 100%;
-            height: 100%;
-            position: absolute; /* 淇濊瘉鍦板浘鍏ㄥ睆 */
-            top: 0;
-            left: 0;
-        }
+         margin: 0;
+         padding: 0;
+         width: 100%;
+         height: 100%;
+         overflow: hidden; /* 闃叉婊氬姩鏉″嚭鐜� */
+     }
+  /* 纭繚鍦板浘瀹瑰櫒鍏呮弧鏁翠釜瑙嗗彛 */
+     #mapDiv {
+         width: 100%;
+         height: 100%;
+         position: absolute; /* 淇濊瘉鍦板浘鍏ㄥ睆 */
+         top: 0;
+         left: 0;
+     }
     </style>
-    <script src="http://api.tianditu.gov.cn/api?v=4.0&tk=d8beed89b43160a9a185e5aff431f85d"
-        type="text/javascript"></script>
+    <!-- 寮曠敤鏈湴鐨勫ぉ鍦板浘 JS 鏂囦欢 -->
+    <script src="js/tianditu.js"></script>
+    <!-- <script src="http://api.tianditu.gov.cn/api?v=4.0&tk=d8beed89b43160a9a185e5aff431f85d"
+        type="text/javascript"></script> -->
 </head>
 
 <body>
-    <div id="mapDiv"></div>
-    <script src="js/map.js"></script>
+<div id="mapDiv"></div>
+
+<script src="js/map.js"></script>
+
 </body>
 
 </html>
\ No newline at end of file

--
Gitblit v1.8.0