Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/layers/src/point-layer/point-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ export default class PointLayer extends Layer {
columns?: PointLayerColumnsConfig;
} = {
label:
Comment thread
lixun910 marked this conversation as resolved.
pair.defaultName ||
(typeof label === 'string' && label.replace(/\.[^/.]+$/, '')) ||
'Point'
pair.defaultName && pair.defaultName !== 'Point'
Comment thread
lixun910 marked this conversation as resolved.
Outdated
? pair.defaultName
: (typeof label === 'string' && label.replace(/\.[^/.]+$/, '')) || 'Point'
};

// default layer color for begintrip and dropoff point
Expand Down
Loading