StrandedKitty / streets-gl

🗺 OpenStreetMap 3D renderer powered by WebGL2
http://streets.gl
MIT License
657 stars 49 forks source link

I could see, what's missing to "Go" to the stored state: #149

Closed DerKarlos closed 1 year ago

DerKarlos commented 1 year ago

The "Go" button calls goToLatLon/setLatLon, which sets the defaults. So I added goToState: (lat: number, lon: number, pitch: number, yaw: number, distance: number) => void; and setState(lat, lon, pitch, yaw, distance)

In SavedPlaceParams and addNewPlace I added pitch, yaw and distance. I did NOT add them to addNewPlace, that would mean no backward compatibility. I even removed lat, lon because it is redundant in .link. In useLayoutEffect, all values are taken from .link now.

#121

StrandedKitty commented 1 year ago

Can you make it so that the base branch is dev instead of main? All the changes go into dev first.

DerKarlos commented 1 year ago

No dropdown either: Close