1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 10:50:24 +00:00

Feature/add map view (#7034)

* add map

* use custom baidu js

* use custom baidu plugin

* optimize user location

* optimize code

* show tips when request user location failed

* optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code

---------

Co-authored-by: zhouwenxuan <aries@Mac.local>
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
Aries
2024-11-18 17:36:49 +08:00
committed by GitHub
parent 29d2d18a0b
commit 3b384be610
23 changed files with 2331 additions and 81 deletions

View File

@@ -19,6 +19,10 @@ const VIEW_OPTIONS = [
{
key: 'kanban',
type: VIEW_TYPE.KANBAN,
},
{
key: 'map',
type: VIEW_TYPE.MAP,
}
];
@@ -49,6 +53,8 @@ const AddView = ({ target, toggle, onOptionClick }) => {
return gettext('Gallery');
case VIEW_TYPE.KANBAN:
return gettext('Kanban');
case VIEW_TYPE.MAP:
return gettext('Map');
default:
return type;
}