wangzhibo
2021-09-04 3306b9213bda4af51664db98a2d0bc1c9c02e31f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
{
    "map3d": {
        "templateValues": {
            "dataServer": "http://127.0.0.1"
        },
        "scene": {
            "center": { "lat": 30.872174, "lng": 121.536914, "alt": 92469, "heading": 360, "pitch": -67 },
            "scene3DOnly": false,
            "shadows": false,
            "removeDblClick": true,
            "sceneMode": 3,
            "showSun": true,
            "showMoon": true,
            "showSkyBox": true,
            "showSkyAtmosphere": true,
            "fog": true,
            "fxaa": true,
            "globe": {
                "depthTestAgainstTerrain": false,
                "baseColor": "#546a53",
                "showGroundAtmosphere": true,
                "enableLighting": false
            },
            "cameraController": {
                "zoomFactor": 3.0,
                "minimumZoomDistance": 1,
                "maximumZoomDistance": 50000000,
                "enableRotate": true,
                "enableTranslate": true,
                "enableTilt": true,
                "enableZoom": true,
                "enableCollisionDetection": true
            }
        },
        "control": {
            "homeButton": true,
            "baseLayerPicker": false,
            "sceneModePicker": false,
            "vrButton": false,
            "fullscreenButton": true,
            "navigationHelpButton": false,
            "animation": false,
            "timeline": false,
            "infoBox": false,
            "geocoder": false,
            "geocoderConfig": { "key": ["ae29a37307840c7ae4a785ac905927e0"] },
 
            "defaultContextMenu": true,
            "mouseDownView": true,
            "location": {
                "fps": false,
                "template": "<div>经度:{lng}</div> <div>纬度:{lat}</div>"
            },
 
            "navigation": {
                "legend": { "left": "100px", "bottom": "-1px" },
                "compass": { "top": "5px", "right": "5px" }
            }
        },
        "terrain": {
            "url": "{dataServer}/terrain",
            "show": false
        },
        "basemaps": [
            { "id": 10, "name": "地图底图", "type": "group" },
            {
                "pid": 10,
                "name": "天地图影像",
                "icon": "img/basemaps/tdt_img.png",
                "type": "tdt",
                "layer": "img_d",
                "key": ["9ae78c51a0a28f06444d541148496e36"],
                "show": true
            },
            {
                "pid": 10,
                "name": "天地图电子",
                "icon": "img/basemaps/tdt_vec.png",
                "type": "group",
                "layers": [
                    { "name": "底图", "type": "tdt", "layer": "vec_d", "key": ["9ae78c51a0a28f06444d541148496e36"] },
                    { "name": "注记", "type": "tdt", "layer": "vec_z", "key": ["9ae78c51a0a28f06444d541148496e36"] }
                ]
            },
            {
                "pid": 10,
                "name": "灰色底图",
                "icon": "img/basemaps/bd-c-grayscale.png",
                "type": "mapbox",
                "username": "marsgis",
                "styleId": "cki0a92b123qo1aluk0e5v7sb",
                "scaleFactor": true
            },
 
 
            {
                "pid": 10,
 
                "name": "离线地图",
                "type": "xyz",
                "url": "http://127.0.0.1/tianditu/{z}/{x}/{y}.png",
                "minimumLevel": 0,
                "maximumLevel": 18
            },
            {
                "pid": 10,
                "name": "单张图片 (本地离线)",
                "icon": "img/basemaps/offline.png",
                "type": "image",
                "url": "img/tietu/world.jpg"
            }
        ],
        "layers": [
 
            { "id": 4019, "name": "道路", "type": "group" },
 
            {
                "pid": 4019,
                "name": "道路数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:geo_road_shanghai_osm",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4019,
                "name": "道路数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:geo_road_shanghai_osm",
                "parameters": { "maxFeatures": 500 },
 
                "center": { "lat": 31.127211, "lng": 121.487586, "alt": 20698, "heading": 360, "pitch": -67 },
                "popup": "道路名:{name}<br/>tfid:{tfid}"
            },
 
 
 
            { "id": 4020, "name": "微站", "type": "group" },
            {
                "pid": 4020,
                "name": "微站每天数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_weizhan_day",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/weizhanday.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
 
                    }
                },
                "center": { "lat": 31.127211, "lng": 121.487586, "alt": 20698, "heading": 360, "pitch": -67 },
                "popup": "微站名:{name}<br/>编码:{mn}<br/>时间:{time}<br/>pm25:{pm25} ug/cm3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no2:{no2} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
            },
            {
                "pid": 4020,
                "name": "微站每天数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_weizhan_day",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4020,
                "name": "微站每时数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_weizhan_hour",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/weizhanhour.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    },
 
                    "callback": "function(attr , styleOpt){ console.log(attr.pm25);return {img/marker/aday.png};}"
                },
                "center": { "lat": 31.127211, "lng": 121.487586, "alt": 20698, "heading": 360, "pitch": -67 },
                "popup": "微站名:{name}<br/>编码:{mn}<br/>时间:{time}<br/>pm25:{pm25} ug/cm3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no2:{no2} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
            },
            {
                "pid": 4020,
                "name": "微站每时数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_weizhan_hour",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4020,
                "name": "微站每分数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_weizhan_min",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/weizhanmin.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.127211, "lng": 121.487586, "alt": 20698, "heading": 360, "pitch": -67 },
                "popup": "微站名:{name}<br/>编码:{id}<br/>时间:{time}<br/>pm25:{pm25} ug/cm3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no2:{no2} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
            },
            {
                "pid": 4020,
                "name": "微站每分数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_weizhan_min",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4020,
                "name": "微站-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:geo_weizhan_site",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4020,
                "name": "微站-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:geo_weizhan_site",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/weizhan.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.150799, "lng": 121.453263, "alt": 19428, "heading": 360, "pitch": -67 },
                "popup": "微站名:{sitename}<br/>编码:{mn}"
            },
 
            { "id": 4021, "name": "工业区", "type": "group" },
 
            {
                "pid": 4021,
                "name": "工业区-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:geo_gongyequ_site",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4021,
                "name": "工业区-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:geo_gongyequ_site",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "polygonP",
                    "styleOptions": { "color": "#00469c", "outline": false, "opacity": 1 }
                },
                "center": { "lat": 31.023182, "lng": 121.46353, "alt": 53186, "heading": 360, "pitch": -67 },
                "popup": "工业区名:{regionname}"
            },
 
            { "id": 4022, "name": "国控点", "type": "group" },
            {
                "pid": 4022,
                "name": "国控点每天数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_guokong_day",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/guokongday.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.082997, "lng": 121.486309, "alt": 41884, "heading": 360, "pitch": -67 },
                "popup": "国控点:{NAME}<br/>时间:{time}<br/>pm25:{pm25} ug/m3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no:{no} ug/m3<br/>no2:{no2} ug/m3<br/>nox:{nox} ug/m3<br/>aqi:{aqi} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
            },
            {
                "pid": 4022,
                "name": "国控点每天数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_guokong_day",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
 
            {
                "pid": 4022,
                "name": "国控点每时数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_guokong_hour",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/guokonghour.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.082997, "lng": 121.486309, "alt": 41884, "heading": 360, "pitch": -67 },
                "popup": "国控点:{NAME}<br/>时间:{time}<br/>pm25:{pm25} ug/m3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no:{no} ug/m3<br/>no2:{no2} ug/m3<br/>nox:{nox} ug/m3<br/>aqi:{aqi} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
            },
            {
                "pid": 4022,
                "name": "国控点每时数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_guokong_hour",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.937695, "lng": 121.596176, "alt": 81365, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
 
            {
                "pid": 4022,
                "name": "国控点每分数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_guokong_min",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/guokongmin.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.082997, "lng": 121.486309, "alt": 41884, "heading": 360, "pitch": -67 },
                "popup": "国控点:{NAME}<br/>时间:{time}<br/>pm25:{pm25} ug/m3<br/>pm10:{pm10} ug/m3<br/>co:{co} ug/m3<br/>no:{no} ug/m3<br/>no2:{no2} ug/m3<br/>nox:{nox} ug/m3<br/>aqi:{aqi} ug/m3<br/>o3:{o3} ug/m3<br/>so2:{so2} ug/m3"
            },
            {
                "pid": 4022,
                "name": "国控点每分数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_guokong_min",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
 
            {
                "pid": 4022,
                "name": "国控点-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:geo_guokong_site",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.60276, "lng": 121.359562, "alt": 171391, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4022,
                "name": "国控点-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:geo_guokong_site",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/guokong.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.135552, "lng": 121.451742, "alt": 31581, "heading": 360, "pitch": -67 },
                "popup": "siteid:{siteid}<br/>国控点:{sitename}<br/>行政区:{regionname}"
            },
 
            { "id": 4023, "name": "监测点", "type": "group" },
            {
                "pid": 4023,
                "name": "监测点每天数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_jiance_day",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.180609, "lng": 121.567331, "alt": 10633, "heading": 360, "pitch": -67 },
                "popup": "监测点:{name}<br/>编码:{id}<br/>监测时间:{time}<br/>tsp:{tsp} mg/cm3"
            },
            {
                "pid": 4023,
                "name": "监测点每天数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_jiance_day",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
 
            {
                "pid": 4023,
                "name": "监测点每时数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_jiance_hour",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/jiancehour.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
 
                },
                "center": { "lat": 31.180609, "lng": 121.567331, "alt": 10633, "heading": 360, "pitch": -67 },
                "popup": "监测点:{name}<br/>编码:{id}<br/>监测时间:{time}<br/>tsp:{tsp} mg/cm3"
            },
            {
                "pid": 4023,
                "name": "监测点每时数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_jiance_hour",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4023,
                "name": "监测点每分数据-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:dt_jiance_min",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/jiancemin.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.180609, "lng": 121.567331, "alt": 10633, "heading": 360, "pitch": -67 },
                "popup": "监测点:{name}<br/>编码:{id}<br/>监测时间:{time}<br/>tsp:{tsp} mg/cm3"
            },
            {
                "pid": 4023,
                "name": "监测点每分数据-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:dt_jiance_min",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.607634, "lng": 121.513731, "alt": 122859, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
 
            {
                "pid": 4023,
                "name": "监测点-WMS",
                "type": "wms",
                "url": "http://112.74.77.127:9090/geoserver/konglu/wms",
                "layers": "konglu:geo_jiance_site",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "center": { "lat": 30.852151, "lng": 121.534794, "alt": 106390, "heading": 360, "pitch": -67 },
                "popup": "all",
                "show": false,
                "flyTo": true
            },
            {
                "pid": 4023,
                "name": "监测点-WFS",
                "type": "wfs",
                "url": "http://112.74.77.127:9090/geoserver/konglu/ows",
                "layer": "konglu:geo_jiance_site",
                "parameters": { "maxFeatures": 500 },
                "symbol": {
                    "type": "billboardP",
                    "styleOptions": {
                        "image": "img/marker/jiance.png",
                        "scale": 0.7,
                        "scaleByDistance": true,
                        "scaleByDistance_far": 20000,
                        "scaleByDistance_farValue": 0.5,
                        "scaleByDistance_near": 1000,
                        "scaleByDistance_nearValue": 1,
                        "clampToGround": true,
                        "label": {
                            "text": "{name}",
                            "font_size": 15,
                            "color": "#ffffff",
                            "outline": true,
                            "outlineColor": "#000000",
                            "pixelOffsetY": -30,
                            "distanceDisplayCondition": true,
                            "distanceDisplayCondition_far": 2000,
                            "distanceDisplayCondition_near": 0
                        }
                    }
                },
                "center": { "lat": 31.166452, "lng": 121.438123, "alt": 9885, "heading": 360, "pitch": -67 },
                "popup": "监测点:{sitename}<br/>编码:{mn}"
            },
 
            {
                "pid": 4029,
                "name": "建筑物面",
                "type": "wms",
                "url": "http://data.marsgis.cn/geoserver/mars/wms",
                "layers": "mars:hfjzw",
                "crs": "EPSG:4326",
                "parameters": { "transparent": "true", "format": "image/png" },
                "showClickFeature": true,
                "pickFeatureStyle": {
                    "showTime": 5000,
                    "fill": true,
                    "color": "#2deaf7",
                    "opacity": 0.6,
                    "outline": true,
                    "outlineWidth": 3,
                    "outlineColor": "#e000d9",
                    "outlineOpacity": 1.0,
                    "clampToGround": true
                },
                "center": { "lat": 31.79513, "lng": 117.236172, "alt": 3784.6, "heading": 0.7, "pitch": -42.2, "roll": 0 },
                "popup": "all",
                "show": false,
                "flyTo": true
            }
        ]
    }
}