MapStore2 icon indicating copy to clipboard operation
MapStore2 copied to clipboard

#9978: Add 360 photo support with Mapillary

Open mahmoudadel54 opened this issue 11 months ago • 0 comments

Description

  • adding the mapillary viewer for 360 photo support beside Google amd cyclomedia
  • handle view custom 360 photos into mapillary viewer using GeoJSONDataProvider
  • handle view the custom images in 2d and 3d modes
  • install mapillary-js npm package
  • edit VectorLayer to enable add layer features via geojson url in 2d + 3d views
  • adding unit tests for mapillary

Please check if the PR fulfills these requirements

  • [x] The commit message follows our guidelines: https://github.com/geosolutions-it/MapStore2/blob/master/CONTRIBUTING.md
  • [x] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x", remove the others)

  • [ ] Bugfix
  • [x] Feature
  • [ ] Code style update (formatting, local variables)
  • [ ] Refactoring (no functional changes, no api changes)
  • [ ] Build related changes
  • [ ] CI related changes
  • [ ] Other... Please describe:

Issue

#9978

What is the current behavior? #9978

What is the new behavior? 360 Photo support with mapillary viewer is added. It currently is to view only the custom 360 images provided by client not the default mapillary images. User can add the ApiURL parameter into cfg of the streetView plugin in the created context.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • [ ] Yes, and I documented them in migration notes
  • [x] No

Other useful information

360 Photo support for mapillary is added just for the custom 360 images that can be provided by the client not the default mapillary provider.

  • Adding the default mapillary provider is applicable for 2D by adding vector tile support into openLayers [it is not supported in MS] and it needs investigation to handle it in 3D as there is no straight forward support for vector tile layers into Cesium.
  • I have added a custom logic to enable vector layer to get url of a geojson file to load its features into the layer for openLayers and Cesium as well.

mahmoudadel54 avatar Mar 06 '24 09:03 mahmoudadel54