Fix layer type name to new convention (#121218)

This commit is contained in:
Quynh Nguyen 2021-12-14 13:15:20 -06:00 committed by GitHub
parent 3f321d1f42
commit bd580087b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
import { Feature, Point } from 'geojson';
import { euiPaletteColorBlind } from '@elastic/eui';
import { DEFAULT_GEO_REGEX } from './geo_point_content';
import { SOURCE_TYPES } from '../../../../../../../maps/common';
import { LAYER_TYPE, SOURCE_TYPES } from '../../../../../../../maps/common';
export const convertWKTGeoToLonLat = (
value: string | number
@ -72,6 +72,6 @@ export const getGeoPointsLayer = (
},
},
},
type: 'VECTOR',
type: LAYER_TYPE.GEOJSON_VECTOR,
};
};