mapillary / mapillary-js

Interactive, extendable street imagery map experiences in the browser, powered by WebGL

Home Page:https://mapillary.github.io/mapillary-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to view 360 images in the viewer using procedural-data-provider?

z0x00 opened this issue · comments

commented

Currently using procedural-data-provider to show images in mapillary js viewer. All images are 360 images, but unable to see them in a 360 degree view.

Expected behavior

viewer should show images in 360 degree view, like in this example:
https://mapillary.github.io/mapillary-js/examples/viewer-coordinates/

Actual behavior

currently images are appearing like in this example:
https://mapillary.github.io/mapillary-js/examples/component-tag/

The code in the spatial component and procedural provider examples should get you there.

See specifically the usage of the spherical projection type.

Double click any of the spherical camera frames in the procedural provider example to see the image projected to the sphere.

Screenshot 2022-07-07 at 12 41 06 PM

Screenshot 2022-07-07 at 12 43 37 PM