mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
Merge 8129c06152
into 6945a5e867
This commit is contained in:
commit
5ca7e1538f
2 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,7 @@ import {
|
||||||
LeafletPolygon,
|
LeafletPolygon,
|
||||||
LeafletPolyline,
|
LeafletPolyline,
|
||||||
MaskPolygon,
|
MaskPolygon,
|
||||||
|
CircleMarker,
|
||||||
} from '../rendering/ui.js'
|
} from '../rendering/ui.js'
|
||||||
import { SCHEMA } from '../schema.js'
|
import { SCHEMA } from '../schema.js'
|
||||||
import * as Utils from '../utils.js'
|
import * as Utils from '../utils.js'
|
||||||
|
@ -714,6 +715,7 @@ export class Point extends Feature {
|
||||||
}
|
}
|
||||||
|
|
||||||
getUIClass() {
|
getUIClass() {
|
||||||
|
if (this.getOption('iconClass') === 'Circle') return CircleMarker
|
||||||
return super.getUIClass() || LeafletMarker
|
return super.getUIClass() || LeafletMarker
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -436,6 +436,13 @@ export const SCHEMA = {
|
||||||
],
|
],
|
||||||
default: 'Default',
|
default: 'Default',
|
||||||
},
|
},
|
||||||
|
radius: {
|
||||||
|
type: Number,
|
||||||
|
default: 4,
|
||||||
|
impacts: ['data'],
|
||||||
|
label: translate('Radius in px'),
|
||||||
|
inheritable: true,
|
||||||
|
},
|
||||||
remoteData: {
|
remoteData: {
|
||||||
type: Object,
|
type: Object,
|
||||||
impacts: ['remote-data'],
|
impacts: ['remote-data'],
|
||||||
|
|
Loading…
Reference in a new issue