export default { // 全局样式 gStyle: { // 玩家定位标记点 marker: { default: { radius: 8, // 圆的半径 px stroke: true, // 是否描边 color: 'blue', // 描边颜色 weight: 3, // 描边宽度 px opacity: 1.0, // 描边不透明度 fill: true, // 是否填充 fillColor: 'blue', // 填充颜色 fillOpacity: 1.0, // 填充不透明度 pane: 'markerPane' }, focus: { radius: 8, stroke: true, // 是否描边 color: 'red', // 描边颜色 weight: 3, // 描边宽度 px opacity: 1.0, // 描边不透明度 fill: true, // 是否填充 fillColor: 'red', // 填充颜色 fillOpacity: 1.0, // 填充不透明度 pane: 'markerPane' }, tooltip: { permanent: true, offset: [0, -10], direction: 'top', interactive: true } }, // 玩家运动轨迹 trail: { default: { smoothFactor: 0.5, // 值越大线条越平滑,值越小线条越精确 stroke: true, // 是否描边 color: 'blue', // 描边颜色 weight: 3, // 描边宽度 px opacity: 1.0, // 描边不透明度 fill: false, // 是否填充 fillColor: 'blue', // 填充颜色 fillOpacity: 1.0, // 填充不透明度 pane: 'markerPane' }, focus: { smoothFactor: 0.5, // 值越大线条越平滑,值越小线条越精确 stroke: true, // 是否描边 color: 'red', // 描边颜色 weight: 3, // 描边宽度 px opacity: 1.0, // 描边不透明度 fill: false, // 是否填充 fillColor: 'red', // 填充颜色 fillOpacity: 1.0, // 填充不透明度 pane: 'markerPane' } }, // 检查点 checkPoint: { default: { radius: 15, color: '#ff00ff', weight: 2, fill: false, interactive: true }, focus: { radius: 15, color: '#ff00ff', weight: 2, fill: false, interactive: true }, tooltip: { permanent: true, offset: [0, -15], direction: 'top', interactive: true } }, // 检查点组成的路径 checkPointPath: { default: { dashArray: '8 12', // dashOffset: '1', stroke: true, // 是否描边 color: '#ff00ff', // 描边颜色 weight: 3, // 描边宽度 px opacity: 0.6, // 描边不透明度 fill: false, // 是否填充 interactive: true }, focus: { stroke: true, // 是否描边 color: '#ff00ff', // 描边颜色 weight: 3, // 描边宽度 px opacity: 1.0, // 描边不透明度 fill: false, // 是否填充 interactive: true } }, } }