-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Animating Icon Layer #4199
Comments
Hi @sambaskin , just add this property |
Thanks! I should add that in the icon layer javascript file, right? If so, where in the file should I add that property? |
In the icon layer parameters
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Same Basket <notifications@github.com>
Sent: Thursday, January 30, 2020 10:08:34 PM
To: uber/deck.gl <deck.gl@noreply.github.com>
Cc: Charles Killer <charleskiller@coachhire.com>; Manual <manual@noreply.github.com>
Subject: Re: [uber/deck.gl] Animating Icon Layer (#4199)
Thanks! I should add that in the icon layer javascript file, right? If so, where in the file should I add that property?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#4199>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADTHTTYDMFJ2PRKHLEGAC4LRANFWFANCNFSM4KLNCAPQ>.
|
Here's my default props section in icon-layer.js after adding that property in. Does this seem right? `const defaultProps = { iconAtlas: null, Edit: Sorry, just realized you probably meant the icon properties in app.js. Was still thinking about this in terms of modifying an existing layer type. Still confused on how the data for the changing position comes into this though.
|
Hopefully they'll invest some time in documenting the transitions so we have a clearer picture of what works. |
Here's two things I've found: |
Here's something else |
@Foosballfan Foosballfan There should probably be a getKey data accessor to avoid this behaviour |
Merging with #2570 |
@danias |
I'm trying to visualize car trip data, and I want to use a moving icon to represent each car.
I haven't been able to find any examples where icons move, so I figured that the best way forward would be to modify either the existing trip or icon layer.
I know that the trips layer works by just adjusting the shading on a normal path layer over time, so I think the best bet would be modifying the icon layer.
Is there a way to consistently change the getPosition attribute in the icon layer over time?
The text was updated successfully, but these errors were encountered: