| | |
| | | |
| | | ### ExampleBlinkPage ´úÂë |
| | | ### ExampleBlinkPage 代码 |
| | | |
| | | ```jsx |
| | | import React, {Component} from 'react' |
| | |
| | | |
| | | |
| | | optionObjs = { |
| | | "Ä¿±êÐÑÄ¿": { |
| | | "目标醒目": { |
| | | code: '123', |
| | | type: "2002", |
| | | xz: true, |
| | |
| | | blinkCycle: 2000, |
| | | points: [] |
| | | }, |
| | | "ÑÚ»¤ÇøÓò": { |
| | | "掩护区域": { |
| | | type: 'yhqy', |
| | | points: [{lon: 102.642853926199, lat: 31.012509646376447, height: 0}, |
| | | {lon: 102.65927322610115, lat: 31.01540811637356, height: 0}, |
| | |
| | | blink: true, |
| | | blinkCycle: 3000, |
| | | }, |
| | | "Ðͬ¹ØÏµ": { |
| | | "协同关系": { |
| | | type: 'xtgx', |
| | | points: [{lon: 102.642853926199, lat: 31.012509646376447, height: 0}, |
| | | {lon: 102.66192135373299, lat: 31.005988487769518, height: 0}], |
| | |
| | | blink: true, |
| | | blinkCycle: 2000, |
| | | }, |
| | | "¸ÉÈÅÏß": { |
| | | "干扰线": { |
| | | type: 'grx', |
| | | points: [{lon: 102.732420985008, lat: 30.97556325857848, height: 0}, |
| | | {lon: 102.73983041603873, lat: 30.97504986175468, height: 0}], |
| | |
| | | constructor(props) { |
| | | super(props); |
| | | this.state = { |
| | | htmlString: '<h3>ÕýÔÚ¼ÓÔØÖÐ...</h3>', |
| | | htmlString: '<h3>正在加载中...</h3>', |
| | | plotText: '' |
| | | }; |
| | | } |
| | |
| | | |
| | | return ( |
| | | <div className={"example_draw_container"}> |
| | | <h3>¾ü±ê»æÖÆ/չʾÒÑÓеľü±êÊý¾Ý</h3> |
| | | <h3>军标绘制/展示已有的军标数据</h3> |
| | | <div className={"map_wrapper"}> |
| | | <GIS refs={ |
| | | e => { |