Skip to content
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

Timestamp component (via TextLayer) #37

Open
RaymondDashWu opened this issue Aug 15, 2020 · 10 comments
Open

Timestamp component (via TextLayer) #37

RaymondDashWu opened this issue Aug 15, 2020 · 10 comments
Assignees

Comments

@RaymondDashWu
Copy link

No description provided.

@RaymondDashWu RaymondDashWu self-assigned this Aug 15, 2020
@RaymondDashWu
Copy link
Author

RaymondDashWu commented Aug 21, 2020

image
Error that you get when you try to use view as part of an array ex:
`
return <DeckGL

  views={views: [
    new MapView({id: 'main', controller: true}),
    new MapView({id: 'minimap', x: 10, y: 10, width: '20%', height: '20%', controller: true}})
  ]}

...
`

@RaymondDashWu
Copy link
Author

layerFilter function + ids so that only text layer is rendered https://deck.gl/docs/developer-guide/views#rendering-layers-in-multiple-views

coordinate system for text layer - change to cartesian coords https://deck.gl/docs/developer-guide/coordinate-systems
coordinateOrigin

defining viewStates of text + tile within cartesian (?) coords

@RaymondDashWu
Copy link
Author

@RaymondDashWu
Copy link
Author

Best guess is that my setup of Orthographic View isn't correct
image
Without Orthographic view

image
With Orthographic view. Bounds lost

@RaymondDashWu
Copy link
Author

image
This screenshot better illustrates lost bounds

@RaymondDashWu
Copy link
Author

look at const animationConfig = this.mapData.visState.animationConfig;
for actual timestamp data once ready

@RaymondDashWu
Copy link
Author

Can't use onViewStateChange to make the timestamp stick to a certain view in frame like normal Deck view because Hubble movement isn't done using mouse, touch, keyboard.
https://deck.gl/docs/api-reference/core/deck#onviewstatechange

@RaymondDashWu
Copy link
Author

RaymondDashWu commented Sep 4, 2020

image

¯_(ツ)_/¯ Add clarification. later

@RaymondDashWu
Copy link
Author

Possibly consider using mapbox to add timestamp component as those go on top of Deck https://deck.gl/docs/api-reference/mapbox/overview#inserting-a-2d-deck-layer-before-an-existing-mapbox-layer

@RaymondDashWu
Copy link
Author

TLDR; didn't seem to be possible to do in previous versions of Kepler. Try again in future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant