@carto/kepler.gl 0.0.48-alpha.custom-markers.3 → 0.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/common/field-selector.js +3 -7
- package/dist/components/common/item-selector/item-selector.js +1 -6
- package/dist/components/common/styled-components.js +2 -2
- package/dist/components/index.js +1 -10
- package/dist/components/kepler-gl.js +1 -2
- package/dist/components/side-panel/layer-panel/layer-configurator.js +8 -16
- package/dist/components/side-panel/layer-panel/vis-config-by-field-selector.js +3 -19
- package/dist/constants/default-settings.js +5 -6
- package/dist/layers/base-layer.js +5 -111
- package/dist/layers/geojson-layer/geojson-layer.js +2 -2
- package/dist/layers/layer-factory.js +1 -23
- package/dist/layers/point-layer/point-layer.js +22 -123
- package/dist/localization/en.js +3 -9
- package/dist/processors/data-processor.js +2 -4
- package/dist/utils/layer-utils.js +3 -5
- package/dist/utils/table-utils/kepler-table.js +3 -2
- package/package.json +4 -7
- package/src/components/common/field-selector.js +6 -12
- package/src/components/common/item-selector/item-selector.js +0 -4
- package/src/components/common/styled-components.js +1 -1
- package/src/components/index.js +0 -1
- package/src/components/kepler-gl.js +0 -1
- package/src/components/side-panel/layer-panel/layer-configurator.js +10 -27
- package/src/components/side-panel/layer-panel/vis-config-by-field-selector.js +1 -11
- package/src/constants/default-settings.js +3 -7
- package/src/layers/base-layer.js +2 -80
- package/src/layers/geojson-layer/geojson-layer.js +1 -2
- package/src/layers/layer-factory.js +0 -22
- package/src/layers/point-layer/point-layer.js +27 -132
- package/src/localization/en.js +2 -8
- package/src/processors/data-processor.js +0 -3
- package/src/utils/layer-utils.js +2 -4
- package/src/utils/table-utils/kepler-table.js +1 -1
- package/CHANGELOG.md +0 -711
- package/dist/components/side-panel/layer-panel/custom-markers-config-group.js +0 -40
- package/src/components/side-panel/layer-panel/custom-markers-config-group.js +0 -30
package/src/localization/en.js
CHANGED
|
@@ -34,9 +34,7 @@ export default {
|
|
|
34
34
|
density: 'density',
|
|
35
35
|
height: 'height',
|
|
36
36
|
sum: 'sum',
|
|
37
|
-
pointCount: 'Point Count'
|
|
38
|
-
customMarkers: 'Markers',
|
|
39
|
-
rotation: 'Rotation'
|
|
37
|
+
pointCount: 'Point Count'
|
|
40
38
|
},
|
|
41
39
|
placeholder: {
|
|
42
40
|
search: 'Search',
|
|
@@ -87,7 +85,6 @@ export default {
|
|
|
87
85
|
layer: {
|
|
88
86
|
required: 'Required*',
|
|
89
87
|
radius: 'Radius',
|
|
90
|
-
size: 'Size',
|
|
91
88
|
color: 'Color',
|
|
92
89
|
fillColor: 'Fill Color',
|
|
93
90
|
outline: 'Outline',
|
|
@@ -104,7 +101,6 @@ export default {
|
|
|
104
101
|
elevationByDescription: 'When off, height is based on count of points',
|
|
105
102
|
colorByDescription: 'When off, color is based on count of points',
|
|
106
103
|
aggregateBy: 'Aggregate {field} by',
|
|
107
|
-
addUrl: 'Add URL',
|
|
108
104
|
'3DModel': '3D Model',
|
|
109
105
|
'3DModelOptions': '3D Model Options',
|
|
110
106
|
type: {
|
|
@@ -165,9 +161,7 @@ export default {
|
|
|
165
161
|
weightIntensity: 'Weight Intensity',
|
|
166
162
|
zoomScale: 'Zoom Scale',
|
|
167
163
|
heightRange: 'Height Range',
|
|
168
|
-
heightMultiplier: 'Height Multiplier'
|
|
169
|
-
customMarkers: 'Custom markers',
|
|
170
|
-
url: 'Add URL'
|
|
164
|
+
heightMultiplier: 'Height Multiplier'
|
|
171
165
|
},
|
|
172
166
|
layerVisibility: {
|
|
173
167
|
title: 'Visibility by zoom level'
|
|
@@ -41,7 +41,6 @@ export const ACCEPTED_ANALYZER_TYPES = [
|
|
|
41
41
|
AnalyzerDATA_TYPES.STRING,
|
|
42
42
|
AnalyzerDATA_TYPES.GEOMETRY,
|
|
43
43
|
AnalyzerDATA_TYPES.GEOMETRY_FROM_STRING,
|
|
44
|
-
AnalyzerDATA_TYPES.PAIR_GEOMETRY_FROM_STRING,
|
|
45
44
|
AnalyzerDATA_TYPES.ZIPCODE,
|
|
46
45
|
AnalyzerDATA_TYPES.ARRAY,
|
|
47
46
|
AnalyzerDATA_TYPES.OBJECT
|
|
@@ -373,7 +372,6 @@ export function analyzerTypeToFieldType(aType) {
|
|
|
373
372
|
STRING,
|
|
374
373
|
GEOMETRY,
|
|
375
374
|
GEOMETRY_FROM_STRING,
|
|
376
|
-
PAIR_GEOMETRY_FROM_STRING,
|
|
377
375
|
ZIPCODE,
|
|
378
376
|
ARRAY,
|
|
379
377
|
OBJECT
|
|
@@ -395,7 +393,6 @@ export function analyzerTypeToFieldType(aType) {
|
|
|
395
393
|
return ALL_FIELD_TYPES.boolean;
|
|
396
394
|
case GEOMETRY:
|
|
397
395
|
case GEOMETRY_FROM_STRING:
|
|
398
|
-
case PAIR_GEOMETRY_FROM_STRING:
|
|
399
396
|
case ARRAY:
|
|
400
397
|
case OBJECT:
|
|
401
398
|
// TODO: create a new data type for objects and arrays
|
package/src/utils/layer-utils.js
CHANGED
|
@@ -126,8 +126,7 @@ export function renderDeckGlLayer(props, layerCallbacks, idx) {
|
|
|
126
126
|
interactionConfig,
|
|
127
127
|
animationConfig,
|
|
128
128
|
mapLayers,
|
|
129
|
-
maskPolygon
|
|
130
|
-
customMarkersStatus
|
|
129
|
+
maskPolygon
|
|
131
130
|
} = props;
|
|
132
131
|
const layer = layers[idx];
|
|
133
132
|
const data = layerData[idx];
|
|
@@ -145,8 +144,7 @@ export function renderDeckGlLayer(props, layerCallbacks, idx) {
|
|
|
145
144
|
animationConfig,
|
|
146
145
|
objectHovered,
|
|
147
146
|
visible,
|
|
148
|
-
maskPolygon
|
|
149
|
-
customMarkersStatus
|
|
147
|
+
maskPolygon
|
|
150
148
|
});
|
|
151
149
|
}
|
|
152
150
|
|
|
@@ -313,7 +313,7 @@ class KeplerTable {
|
|
|
313
313
|
const {dataContainer, filteredIndexForDomain} = this;
|
|
314
314
|
|
|
315
315
|
if (!SCALE_TYPES[scaleType]) {
|
|
316
|
-
|
|
316
|
+
Console.error(`scale type ${scaleType} not supported`);
|
|
317
317
|
return null;
|
|
318
318
|
}
|
|
319
319
|
|