feat(map): added AMap/Baidu/Google Map example close #81

This commit is contained in:
Vben
2021-03-12 21:45:27 +08:00
parent a89eeef6f3
commit a9462f0d4d
27 changed files with 2223 additions and 96 deletions

View File

@@ -6,11 +6,37 @@ const menu: MenuModule = {
menu: {
name: t('routes.demo.charts.charts'),
path: '/charts',
tag: {
content: 'new',
},
children: [
{
path: 'aMap',
name: t('routes.demo.charts.aMap'),
tag: {
dot: true,
},
},
{
path: 'baiduMap',
name: t('routes.demo.charts.baiduMap'),
tag: {
dot: true,
},
},
{
path: 'googleMap',
name: t('routes.demo.charts.googleMap'),
tag: {
dot: true,
},
},
{
path: 'apexChart',
name: t('routes.demo.charts.apexChart'),
},
{
path: 'echarts',
name: 'Echarts',

View File

@@ -13,13 +13,38 @@ const charts: AppRouteModule = {
title: t('routes.demo.charts.charts'),
},
children: [
{
path: 'baiduMap',
name: 'BaiduMap',
meta: {
title: t('routes.demo.charts.baiduMap'),
},
component: () => import('/@/views/demo/charts/map/Baidu.vue'),
},
{
path: 'aMap',
name: 'AMap',
meta: {
title: t('routes.demo.charts.aMap'),
},
component: () => import('/@/views/demo/charts/map/Amap.vue'),
},
{
path: 'googleMap',
name: 'GoogleMap',
meta: {
title: t('routes.demo.charts.googleMap'),
},
component: () => import('/@/views/demo/charts/map/Google.vue'),
},
{
path: 'apexChart',
name: 'ApexChart',
meta: {
title: t('routes.demo.charts.apexChart'),
},
component: () => import('/@/views/demo/echarts/apex/index.vue'),
component: () => import('/@/views/demo/charts/apex/index.vue'),
},
{
path: 'echarts',
@@ -33,7 +58,7 @@ const charts: AppRouteModule = {
{
path: 'map',
name: 'Map',
component: () => import('/@/views/demo/echarts/Map.vue'),
component: () => import('/@/views/demo/charts/Map.vue'),
meta: {
title: t('routes.demo.charts.map'),
},
@@ -41,7 +66,7 @@ const charts: AppRouteModule = {
{
path: 'line',
name: 'Line',
component: () => import('/@/views/demo/echarts/Line.vue'),
component: () => import('/@/views/demo/charts/Line.vue'),
meta: {
title: t('routes.demo.charts.line'),
},
@@ -49,7 +74,7 @@ const charts: AppRouteModule = {
{
path: 'pie',
name: 'Pie',
component: () => import('/@/views/demo/echarts/Pie.vue'),
component: () => import('/@/views/demo/charts/Pie.vue'),
meta: {
title: t('routes.demo.charts.pie'),
},