tiny-vue/examples/sites/demos/pc/app/chart/webdoc/chart-baidu-map.js

33 lines
1.4 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export default {
column: '2',
owner: '',
demos: [
{
'demoId': 'bmap-base',
'name': { 'zh-CN': '基本用法', 'en-US': 'Basic Usage' },
'desc': {
'zh-CN':
'<p>可以流畅的运行在 PC 和移动设备上兼容当前绝大部分浏览器IE 9/10/11ChromeFirefoxSafari 等)底层依赖轻量级的 Canvas 类库 ZRender提供直观生动可交互可高度个性化定制的数据可视化图表。\n 百度地图需要外网访问权限才能正常使用\n</p>\n',
'en-US':
'<p> can run smoothly on PCs and mobile devices and is compatible with most browsers. (Internet Explorer 9/10/11, Chrome, Firefox, Safari, etc.) The bottom layer relies on the lightweight Canvas class library ZRender to provide intuitive, vivid, interactive, and highly personalized data visualization charts. \n Baidu Map requires the external network access permission. \n</p>\n'
},
'codeFiles': ['bmap/base.vue']
}
],
apis: [{ 'name': 'chart-baidu-map', 'type': 'component', 'props': [], 'events': [], 'slots': [] }],
types: [
{
name: 'IChartSettings',
type: 'interface',
code: `
interface IChartSettings {
bmap: object // 百度地图配置项
key: string // 百度地图 access_key
useOuterMap: boolean // 使用全局的地图依赖
v: string // 百度地图版本默认2.0
}
`
}
]
}