|
@@ -445,71 +445,6 @@ export const mapPolygonSchema = |
|
@@ -445,71 +445,6 @@ export const mapPolygonSchema = |
445
|
title: 'Map Polygon Configuration',
|
445
|
title: 'Map Polygon Configuration',
|
446
|
type: 'object',
|
446
|
type: 'object',
|
447
|
properties: {
|
447
|
properties: {
|
448
|
- polygonKeyName: {
|
|
|
449
|
- title: 'Polygon key name',
|
|
|
450
|
- type: 'string',
|
|
|
451
|
- default: 'coordinates'
|
|
|
452
|
- },
|
|
|
453
|
- polygonColor: {
|
|
|
454
|
- title: 'Polygon color',
|
|
|
455
|
- type: 'string'
|
|
|
456
|
- },
|
|
|
457
|
- polygonOpacity: {
|
|
|
458
|
- title: 'Polygon opacity',
|
|
|
459
|
- type: 'number',
|
|
|
460
|
- default: 0.5
|
|
|
461
|
- },
|
|
|
462
|
- polygonStrokeColor: {
|
|
|
463
|
- title: 'Stroke color',
|
|
|
464
|
- type: 'string'
|
|
|
465
|
- },
|
|
|
466
|
- polygonStrokeOpacity: {
|
|
|
467
|
- title: 'Stroke opacity',
|
|
|
468
|
- type: 'number',
|
|
|
469
|
- default: 1
|
|
|
470
|
- },
|
|
|
471
|
- polygonStrokeWeight: {
|
|
|
472
|
- title: 'Stroke weight',
|
|
|
473
|
- type: 'number',
|
|
|
474
|
- default: 1
|
|
|
475
|
- },
|
|
|
476
|
- usePolygonColorFunction: {
|
|
|
477
|
- title: 'Use polygon color function',
|
|
|
478
|
- type: 'boolean',
|
|
|
479
|
- default: false
|
|
|
480
|
- },
|
|
|
481
|
- polygonColorFunction: {
|
|
|
482
|
- title: 'Polygon Color function: f(data, dsData, dsIndex)',
|
|
|
483
|
- type: 'string'
|
|
|
484
|
- },
|
|
|
485
|
- },
|
|
|
486
|
- required: []
|
|
|
487
|
- },
|
|
|
488
|
- form: [
|
|
|
489
|
- 'polygonKeyName',
|
|
|
490
|
- {
|
|
|
491
|
- key: 'polygonColor',
|
|
|
492
|
- type: 'color'
|
|
|
493
|
- },
|
|
|
494
|
- 'polygonOpacity',
|
|
|
495
|
- {
|
|
|
496
|
- key: 'polygonStrokeColor',
|
|
|
497
|
- type: 'color'
|
|
|
498
|
- },
|
|
|
499
|
- 'polygonStrokeOpacity', 'polygonStrokeWeight', 'usePolygonColorFunction',
|
|
|
500
|
- {
|
|
|
501
|
- key: 'polygonColorFunction',
|
|
|
502
|
- type: 'javascript'
|
|
|
503
|
- },
|
|
|
504
|
- ]
|
|
|
505
|
-};
|
|
|
506
|
-
|
|
|
507
|
-export const mapPolygonSchema =
|
|
|
508
|
-{
|
|
|
509
|
- schema: {
|
|
|
510
|
- title: 'Map Polygon Configuration',
|
|
|
511
|
- type: 'object',
|
|
|
512
|
- properties: {
|
|
|
513
|
showPolygon: {
|
448
|
showPolygon: {
|
514
|
title: 'Show polygon',
|
449
|
title: 'Show polygon',
|
515
|
type: 'boolean',
|
450
|
type: 'boolean',
|