[GitHub] [incubator-echarts] aiyoudiao removed a comment on issue #13331: bmap 无法setMapStyle

2020-09-23 Thread GitBox


aiyoudiao removed a comment on issue #13331:
URL: 
https://github.com/apache/incubator-echarts/issues/13331#issuecomment-697174189


   ```vue
   ```



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



-
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org



[GitHub] [incubator-echarts] aiyoudiao removed a comment on issue #13331: bmap 无法setMapStyle

2020-09-23 Thread GitBox


aiyoudiao removed a comment on issue #13331:
URL: 
https://github.com/apache/incubator-echarts/issues/13331#issuecomment-697173956


   `
 
   
 
   
   
   
   import 'echarts/extension/bmap/bmap'
   
   export default {
 data () {
   return {
 options: {}
   }
 },
 mounted () {
   this.options = {
 bmap: {
   key: 'G1LFyjrNGIkns5OfpZnrCGAKxpycPLwb',
   center: [104.114129, 37.550339], /* 中心点 */
   zoom: 5, /* 缩放比例,焦距 */
   roam: false, /* 是否允许缩放 */
   mapStyle: {
 // styleId: 'ae2291f853c26c030656ffe33e6fbc4d',
 styleJson: [{
   featureType: 'water',
   elementType: 'all',
   stylers: {
 color: '#044161'
   }
 }, {
   featureType: 'land',
   elementType: 'all',
   stylers: {
 color: '#091934'
   }
 }, {
   featureType: 'boundary',
   elementType: 'geometry',
   stylers: {
 color: '#064f85'
   }
 }, {
   featureType: 'railway',
   elementType: 'all',
   stylers: {
 visibility: 'off'
   }
 }, {
   featureType: 'highway',
   elementType: 'geometry',
   stylers: {
 color: '#004981'
   }
 }, {
   featureType: 'highway',
   elementType: 'geometry.fill',
   stylers: {
 color: '#005b96',
 lightness: 1
   }
 }, {
   featureType: 'highway',
   elementType: 'labels',
   stylers: {
 visibility: 'on'
   }
 }, {
   featureType: 'arterial',
   elementType: 'geometry',
   stylers: {
 color: '#004981',
 lightness: -39
   }
 }, {
   featureType: 'arterial',
   elementType: 'geometry.fill',
   stylers: {
 color: '#00508b'
   }
 }, {
   featureType: 'poi',
   elementType: 'all',
   stylers: {
 visibility: 'off'
   }
 }, {
   featureType: 'green',
   elementType: 'all',
   stylers: {
 color: '#056197',
 visibility: 'off'
   }
 }, {
   featureType: 'subway',
   elementType: 'all',
   stylers: {
 visibility: 'off'
   }
 }, {
   featureType: 'manmade',
   elementType: 'all',
   stylers: {
 visibility: 'off'
   }
 }, {
   featureType: 'local',
   elementType: 'all',
   stylers: {
 visibility: 'off'
   }
 }, {
   featureType: 'arterial',
   elementType: 'labels',
   stylers: {
 visibility: 'off'
   }
 }, {
   featureType: 'boundary',
   elementType: 'geometry.fill',
   stylers: {
 color: '#029fd4'
   }
 }, {
   featureType: 'building',
   elementType: 'all',
   stylers: {
 color: '#1a5787'
   }
 }, {
   featureType: 'label',
   elementType: 'all',
   stylers: {
 visibility: 'off'
   }
 }, {
   featureType: 'poi',
   elementType: 'labels.text.fill',
   stylers: {
 color: '#ff'
   }
 }, {
   featureType: 'poi',
   elementType: 'labels.text.stroke',
   stylers: {
 color: '#1e1c1c'
   }
 }, {
   featureType: 'administrative',
   elementType: 'labels',
   stylers: {
 visibility: 'on'
   }
 }, {
   featureType: 'road',
   elementType: 'labels',
   stylers: {
 visibility: 'off'
   }
 }]
   
   }
 }
   
   }
 }
   }
   
   
   
   .bmap {
 height: 100%;
 width: 100%;
   }
   
   `



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org