diff --git a/ui-ngx/src/app/core/utils.ts b/ui-ngx/src/app/core/utils.ts index c9e668e8b0..9cd161dc88 100644 --- a/ui-ngx/src/app/core/utils.ts +++ b/ui-ngx/src/app/core/utils.ts @@ -15,13 +15,8 @@ /// import _ from 'lodash'; -<<<<<<< HEAD import { Observable, Subject, fromEvent, of } from 'rxjs'; import { finalize, share, map } from 'rxjs/operators'; -======= -import { fromEvent, Observable, of, Subject } from 'rxjs'; -import { finalize, map, share } from 'rxjs/operators'; ->>>>>>> 8cfe4ef44f356d9e920189664df3abb9e89b708c import base64js from 'base64-js'; export function onParentScrollOrWindowResize(el: Node): Observable { diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/maps/schemes.ts b/ui-ngx/src/app/modules/home/components/widget/lib/maps/schemes.ts index 7c46756eb2..97e469bc8f 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/maps/schemes.ts +++ b/ui-ngx/src/app/modules/home/components/widget/lib/maps/schemes.ts @@ -439,71 +439,6 @@ export const commonMapSettingsSchema = ] }; -export const mapPolygonSchema = -{ - schema: { - title: 'Map Polygon Configuration', - type: 'object', - properties: { - polygonKeyName: { - title: 'Polygon key name', - type: 'string', - default: 'coordinates' - }, - polygonColor: { - title: 'Polygon color', - type: 'string' - }, - polygonOpacity: { - title: 'Polygon opacity', - type: 'number', - default: 0.5 - }, - polygonStrokeColor: { - title: 'Stroke color', - type: 'string' - }, - polygonStrokeOpacity: { - title: 'Stroke opacity', - type: 'number', - default: 1 - }, - polygonStrokeWeight: { - title: 'Stroke weight', - type: 'number', - default: 1 - }, - usePolygonColorFunction: { - title: 'Use polygon color function', - type: 'boolean', - default: false - }, - polygonColorFunction: { - title: 'Polygon Color function: f(data, dsData, dsIndex)', - type: 'string' - }, - }, - required: [] - }, - form: [ - 'polygonKeyName', - { - key: 'polygonColor', - type: 'color' - }, - 'polygonOpacity', - { - key: 'polygonStrokeColor', - type: 'color' - }, - 'polygonStrokeOpacity', 'polygonStrokeWeight', 'usePolygonColorFunction', - { - key: 'polygonColorFunction', - type: 'javascript' - }, - ] -}; - export const mapPolygonSchema = { schema: {