deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

Location of camera on pitch 89.5

Open MacieJCzarkowskI opened this issue 6 years ago • 3 comments

Hey, I'm trying to set starting location exactly where is the point on my picture viewState: { pitch: 89.5, latitude: (the same location as pin), longitude: (the same location as pin), }, But camera is far from this point, so the question is, can i change the distance observer/point ?

localizationOfPopup

MacieJCzarkowskI avatar Jul 23 '20 16:07 MacieJCzarkowskI

The default maxPitch is 60. You need to set it to 90.

Pessimistress avatar Jul 24 '20 20:07 Pessimistress

I have set it to 90 degrees but problem is that i would like to be closer this point on this pitch :)

MacieJCzarkowskI avatar Jul 29 '20 11:07 MacieJCzarkowskI

The default view (MapView) looks AT the specified location instead of looking FROM it. You can try FirstPersonView.

Pessimistress avatar Jul 29 '20 12:07 Pessimistress