GPlates / gplates-app

GPlates Mobile App
https://www.gplates.org
2 stars 0 forks source link

zoom into full globe when changing projection back to 3d #195

Closed nickywright closed 1 year ago

nickywright commented 1 year ago

going from Columbus View --> 3d view results in a very zoomed out globe (see image). Can we have it to be a full-globe but zoomed in (same view as what will be for the 'home' button).

michaelchin commented 1 year ago

I have tried to fix this problem. See the code below. Maybe there is a better approach ...

https://github.com/GPlates/gplates-app/blob/1917fee66edd2c8d86958b04532e0bdfbba78edf/src/components/CustomToolbar.tsx#L44-L52

michaelchin commented 1 year ago

similar to #194. need to adjust camera height according to the screen size

michaelchin commented 1 year ago

fixed in e6bef110a4c4018d920acdade9b433196222c295