testing logs
This commit is contained in:
parent
f63787fd03
commit
ad38b676d6
1 changed files with 7 additions and 0 deletions
|
@ -15,6 +15,11 @@ export default function MapIconLayer(props: any) {
|
||||||
|
|
||||||
createEffect(() => console.log("Watch me update but not trigger a render!", stations()));
|
createEffect(() => console.log("Watch me update but not trigger a render!", stations()));
|
||||||
|
|
||||||
|
function deezCompare() {
|
||||||
|
console.log('comparing');
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Show when={stations()}>
|
<Show when={stations()}>
|
||||||
<Layer customLayer={
|
<Layer customLayer={
|
||||||
|
@ -30,6 +35,8 @@ export default function MapIconLayer(props: any) {
|
||||||
getPosition: d => [d.Loc.Coordinates[1], d.Loc.Coordinates[0]],
|
getPosition: d => [d.Loc.Coordinates[1], d.Loc.Coordinates[0]],
|
||||||
getSize: d => 3,
|
getSize: d => 3,
|
||||||
getColor: d => [d.Dist * 100, 140 - (d.Dist * 50), 0],
|
getColor: d => [d.Dist * 100, 140 - (d.Dist * 50), 0],
|
||||||
|
dataComparator: deezCompare,
|
||||||
|
_dataDiff: () => console.log('datadiff'),
|
||||||
parameters: {
|
parameters: {
|
||||||
depthTest: false,
|
depthTest: false,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue