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