From d3f9feb20237dec5215b9fd338f719725f406b1e Mon Sep 17 00:00:00 2001 From: TreeWish <1131093754@qq.com> Date: 星期二, 07 二月 2023 17:01:18 +0800 Subject: [PATCH] 二维比例尺&指北针功能修改 --- public/index.html | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/public/index.html b/public/index.html index 7becb65..107f6f9 100644 --- a/public/index.html +++ b/public/index.html @@ -42,21 +42,38 @@ border-radius: 2px; } .ol-full-screen { + display: none; position: absolute; right: 0.5em; top: 0.5em; } .ol-rotate { + display: none; position: absolute; top: 3em; right: 0.5em; transition: opacity 0.25s linear, visibility 0s linear; } .ol-scale-line { + display: none; right: 0.3em; bottom: 0.5em; position: absolute; } + .ol-scale-line-inner { + /* padding: 5px 10px; */ + color: rgb(102, 102, 102); + font-weight: bold; + background-color: #fff; + text-align: center; + border-radius: 5px; + } + .ol-zoom { + display: none; + right: 0.3em; + bottom: 3em; + position: absolute; + } </style> </head> -- Gitblit v1.9.3