Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王浩
zh-baseversion-project
Commits
504ad95f
Commit
504ad95f
authored
May 30, 2024
by
军师中郎将
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 大屏端 居民用户 和 商业用户 图标压缩,由原来的 8k 和 10k,压缩成 5k 和 6.1k
parent
36c2445d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
143 deletions
+4
-143
user.svg
zh-baseversion-web/src/assets/firstimage/user.svg
+1
-39
user1.svg
zh-baseversion-web/src/assets/firstimage/user1.svg
+1
-102
map.js
zh-baseversion-web/src/utils/mapClass/map.js
+2
-2
No files found.
zh-baseversion-web/src/assets/firstimage/user.svg
View file @
504ad95f
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/assets/firstimage/user1.svg
View file @
504ad95f
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/utils/mapClass/map.js
View file @
504ad95f
...
...
@@ -540,7 +540,7 @@ export class EditorMap {
const
icon
=
{
type
:
"image"
,
//图标类型,现阶段只支持 image 类型
image
:
svgUrl
[
6
],
//可访问的图片 URL
size
:
[
30
,
30
],
//图片尺寸
size
:
[
44
,
49
],
//图片尺寸
anchor
:
"center"
,
//图片相对 position 的锚点,默认为 bottom-center
};
var
markers
=
[];
...
...
@@ -591,7 +591,7 @@ export class EditorMap {
const
icon
=
{
type
:
"image"
,
//图标类型,现阶段只支持 image 类型
image
:
svgUrl
[
61
],
//可访问的图片 URL
size
:
[
30
,
30
],
//图片尺寸
size
:
[
44
,
49
],
//图片尺寸
anchor
:
"center"
,
//图片相对 position 的锚点,默认为 bottom-center
};
var
markers
=
[];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment