Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-02-08 14:43:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6b3f6cbcb83806134935b4fd889f5616222aca20
6b3f6cbc
1 parent
209f130d
fix
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
src/views/mapCutter.vue
src/views/mapCutter.vue
View file @
6b3f6cb
<!--
* @Date: 2025-01-22 11:40:12
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-02-08 14:
32:23
* @LastEditTime: 2025-02-08 14:
42:00
* @FilePath: /map-demo/src/views/mapCutter.vue
* @Description: 文件描述
-->
<template>
<div style="display: flex; padding: 1rem 0 0 1rem; gap: 1rem; align-items: center;">
<
!-- <
div style="display: flex; padding: 1rem 0 0 1rem; gap: 1rem; align-items: center;">
<div>目标地图经纬度</div>
<el-input
v-model="map_center"
...
...
@@ -14,9 +14,18 @@
placeholder="输入经纬度"
@blur="onCenterBlur"
/>
</div>
</div>
-->
<div style="display: flex; padding: 1rem; gap: 1rem;">
<div style="display: flex; align-items: center;">
<div>目标地图经纬度: </div>
<el-input
v-model="map_center"
style="width: 240px"
placeholder="输入经纬度"
@blur="onCenterBlur"
/>
</div>
<div style="display: flex; align-items: center;">
<div>地图层级: </div>
<el-select v-model="map_zoom" placeholder="地图层级" style="width: 240px" @change="onZoomChange">
<el-option
...
...
@@ -73,7 +82,7 @@
<el-button type="primary" @click="rotateMap(-10)">地图逆时针旋转</el-button>
</div> -->
<div v-if="log_lnglat" style="position: fixed; top:
8
rem; left: 1rem; color: black; background-color: white; padding: 1rem;">
<div v-if="log_lnglat" style="position: fixed; top:
5
rem; left: 1rem; color: black; background-color: white; padding: 1rem;">
<div style=" display: flex; align-items: center; justify-content: center;">经纬度:{{ log_lnglat }} <el-button @click="copyText(log_lnglat)" type="primary" :icon="Brush" size="small">复制</el-button></div>
</div>
...
...
@@ -510,7 +519,7 @@ const objectStyle = computed(() => ({
.controls-container {
position: absolute;
top:
8
rem;
top:
5
rem;
right: 10px;
display: flex;
flex-direction: column;
...
...
Please
register
or
login
to post a comment