mirror of
https://github.com/umap-project/umap.git
synced 2025-05-04 13:41:49 +02:00
Merge 8129c06152
into 7de3ebd2d1
This commit is contained in:
commit
862dd91eb3
2 changed files with 9 additions and 0 deletions
|
@ -14,6 +14,7 @@ import {
|
|||
LeafletPolyline,
|
||||
LeafletPolygon,
|
||||
MaskPolygon,
|
||||
CircleMarker,
|
||||
} from '../rendering/ui.js'
|
||||
import loadPopup from '../rendering/popup.js'
|
||||
|
||||
|
@ -674,6 +675,7 @@ export class Point extends Feature {
|
|||
}
|
||||
|
||||
getUIClass() {
|
||||
if (this.getOption('iconClass') === 'Circle') return CircleMarker
|
||||
return super.getUIClass() || LeafletMarker
|
||||
}
|
||||
|
||||
|
|
|
@ -407,6 +407,13 @@ export const SCHEMA = {
|
|||
],
|
||||
default: 'Default',
|
||||
},
|
||||
radius: {
|
||||
type: Number,
|
||||
default: 4,
|
||||
impacts: ['data'],
|
||||
label: translate('Radius in px'),
|
||||
inheritable: true,
|
||||
},
|
||||
remoteData: {
|
||||
type: Object,
|
||||
impacts: ['remote-data'],
|
||||
|
|
Loading…
Reference in a new issue