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
2023-06-26 15:12:18 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2535614384b664b7f9aa965e2a132eb926ca2701
25356143
1 parent
ce7c4c67
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
components.d.ts
src/common/tiantan_v2.js
src/views/index.vue
components.d.ts
View file @
2535614
...
...
@@ -15,12 +15,8 @@ declare module '@vue/runtime-core' {
InfoWindowWarn
:
typeof
import
(
'./src/components/InfoWindowWarn.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
VanCol
:
typeof
import
(
'vant/es'
)[
'Col'
]
VanDialog
:
typeof
import
(
'vant/es'
)[
'Dialog'
]
VanIcon
:
typeof
import
(
'vant/es'
)[
'Icon'
]
VanPopup
:
typeof
import
(
'vant/es'
)[
'Popup'
]
VanRow
:
typeof
import
(
'vant/es'
)[
'Row'
]
VanTab
:
typeof
import
(
'vant/es'
)[
'Tab'
]
VanTabs
:
typeof
import
(
'vant/es'
)[
'Tabs'
]
}
}
...
...
src/common/tiantan_v2.js
View file @
2535614
...
...
@@ -107,7 +107,7 @@
var
spotInfo
=
[
{
name
:
'照壁'
,
position
:
[
120.587
912
,
31.31287
4
],
position
:
[
120.587
882
,
31.31291
4
],
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E6%AE%BF%E5%A0%82@2x.png'
,
details
:
[
{
...
...
@@ -120,7 +120,7 @@ var spotInfo = [
},
{
name
:
'福德智慧二桥'
,
position
:
[
120.588
204
,
31.3129
5
],
position
:
[
120.588
164
,
31.3130
5
],
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E6%AE%BF%E5%A0%82@2x.png'
,
details
:
[
{
...
...
@@ -133,7 +133,7 @@ var spotInfo = [
},
{
name
:
'御赐牌楼'
,
position
:
[
120.5878
4
3
,
31.313296
],
position
:
[
120.5878
2
3
,
31.313296
],
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E6%AE%BF%E5%A0%82@2x.png'
,
details
:
[
{
...
...
@@ -146,7 +146,7 @@ var spotInfo = [
},
{
name
:
'山门殿'
,
position
:
[
120.5878
21
,
31.31348
8
],
position
:
[
120.5878
11
,
31.31352
8
],
icon
:
'https://cdn.ipadbiz.cn/xys/map/%E6%AE%BF%E5%A0%82@2x.png'
,
details
:
[
{
...
...
src/views/index.vue
View file @
2535614
<!--
* @Date: 2023-05-19 14:54:27
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-06-26 1
4:44:03
* @LastEditTime: 2023-06-26 1
5:10:06
* @FilePath: /map-demo/src/views/index.vue
* @Description: 地图主体页面
-->
...
...
@@ -289,7 +289,7 @@ export default {
showBuildingBlock: false, // 是否展示地图 3D 楼块
zooms: [17, 19], // 地图显示的缩放级别范围, 默认为 [2, 20] ,取值范围 [2 ~ 30]
showLabel: true, // 是否展示地图文字和 POI 信息
zoom: 1
9
, // 设置地图显示的缩放级别
zoom: 1
8
, // 设置地图显示的缩放级别
pitch: 0, // 俯仰角度,默认 0,最大值根据地图当前 zoom 级别不断增大,2D地图下无效 。
rotation: 0, // 地图顺时针旋转角度,取值范围 [0-360] ,默认值:0
center: [120.587382, 31.314504], // 设置地图中心点坐标
...
...
Please
register
or
login
to post a comment