icons on top
This commit is contained in:
parent
dbf2740753
commit
ba2cd712f4
1 changed files with 6 additions and 3 deletions
|
@ -28,8 +28,11 @@ export default function MapIconLayer(props: any) {
|
|||
getIcon: d => 'marker',
|
||||
sizeScale: 15,
|
||||
getPosition: d => [d.Loc.Coordinates[1], d.Loc.Coordinates[0]],
|
||||
getSize: d => 2,
|
||||
getColor: d => [d.Dist * 100, 140 - (d.Dist * 50), 0]
|
||||
getSize: d => 3,
|
||||
getColor: d => [d.Dist * 100, 140 - (d.Dist * 50), 0],
|
||||
parameters: {
|
||||
depthTest: false
|
||||
}
|
||||
} as any)} />
|
||||
</Show>
|
||||
) as JSX.Element
|
||||
|
|
Loading…
Add table
Reference in a new issue