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

Temporal grid overlay #3

Open
mattijn opened this issue Nov 26, 2020 · 6 comments
Open

Temporal grid overlay #3

mattijn opened this issue Nov 26, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@mattijn
Copy link

mattijn commented Nov 26, 2020

This is great! Next to markers and features as overlay, could this application also render temporal grid overlay to visualise for example flood events?

@felixpalmer
Copy link
Owner

I'm not sure I understand exactly what you mean. Are you asking if you could animate the overlays? There is a API function updateOverlay which lets you update an existing overlay, which you could use to drive an animation.

@mattijn
Copy link
Author

mattijn commented Dec 2, 2020

Thanks for your response! From my understanding, I can create a 3D map experience using raster imagery tiles. But if I have another source of raster imagery tiles, can I render these on top of the map? Based on the link you provided, I understand it is possible for a GeoJSON FeatureCollection, but I was referring to another grid.

@felixpalmer felixpalmer added the enhancement New feature or request label Dec 2, 2020
@felixpalmer
Copy link
Owner

Ah OK, I take it that it that the raster tiles would be transparent? This should be doable, I'll keep it in mind for a future version. If you have any good freely available datasets that are already in the XYZ tile format that would be helpful!

@olwal
Copy link

olwal commented Jan 5, 2021

I agree with @mattijn that animated raster tiles would be interesting, and I would add that it would be useful to not only do 2D tiles, but also support depth map tiles, similarly to how you are using tile maps for the elevation.

@olwal
Copy link

olwal commented Jan 5, 2021

I am using repeated addOverlay calls to show temporal data, since updateOverlay has limitations (can only update the coordinates, # of features need to match exactly, etc).

I think that it would add a lot of power with a more flexible updateOverlay method, which could allow high-performance animation of colors, transparency and geometry. It would also be useful to support updates where the numbers of features are not the same in each update (missing data, etc.) -- as you can see in the attached example, the sensor data vary quite a bit.

santa_clara_sample_02.mov

@felixpalmer
Copy link
Owner

@olwal I've created a new issue to track the updateOverlay enhancement: #17 so this issue can be purely for the original suggestion of @mattijn

Really great work on the air quality visualization by the way! Super excited to see what this develops into

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

No branches or pull requests

3 participants