Repository navigation
#12312: panoramax streetview support - #11822
offtherailz merged 10 commits into
Conversation
|
@nrc97 thank you so much for contributing with this. We will review as soon as possible. |
5eed6a3 to
6e7f4bf
Compare
|
Hi @nrc97 if you are still working on this, I kindly ask you to convert this PR to a Draft PR to avoid reviewing if you haven't completed yest the development. Thank you so much again for the collaboration and the contribution. |
|
Is this a tool dedicated to OpenLayers ? (Mapstore offering several map libraries) |
|
Fwiw, i'm not in a position to judge the code itself, but from basic testing against a locally deployed panoramax instance and a locally running mapstore from this PR, this works fine, eg sequences are loaded as MVT from the api, and clicking on the sequence brings up a window showing the picture. Features are basic (eg no link to the complete sequence, which can be useful, nor filters like on panoramax web viewer), but there's always the link to the original picture in panoramax, so that's fine. if i had a user-level remark to do, when the streetview window has its default scale (eg 'smallish'), the 'back' arrow is a bit hidden by the licence footer for the image. one has to make the window a bit higher to easily interact with the arrow. |
@nrc97 can we finally schedule a review session for this? Thank you for confirming that. |
@tdipisa Yes, I'll send you my availability by email. |
|
In order to contribute to the MapStore project, the CLA (Contributor License agreement) should be sent signed to GeoSolutions. Please consult contributing rules at: https://github.com/geosolutions-it/MapStore2/wiki/Contributing-to-MapStore#contributing-code |
@nrc97 please notice that, thank you. |
|
In order to contribute to the MapStore project, the CLA (Contributor License agreement) should be sent signed to GeoSolutions. Please consult contributing rules at: https://github.com/geosolutions-it/MapStore2/wiki/Contributing-to-MapStore#contributing-code |
|
@nrc97 please can you sign the CLA as requested to contribute your code? |
|
@nrc97 is there something preventing you from signing the CLA ? to my understanding that's a requirement to properly upstream your code, instead of having to maintain it outside of the mapstore2 repository... |
|
Hello @offtherailz I merged your PR and tested it.
The PR has also been rebased on the master branch and here is a screenshot of the test I made |
|
@nrc97 I'm sorry but it seems there is some issue with the CLA recognition which is no longer passing the automated check. It was set to Nrc97 account, and the check was passing successfully, while now I see it is nrc97. Since you already have signed the CLA form, I've updated the .clabot file accordingly. To pass this check you need to align your PR to the latest master, please. |
Thank you @tdipisa |
ok @nrc97 thank you for clarifying that. Anyway you have to align the branch you have used for this PR. Many thanks. |
map.forEachFeatureAtPixel in openlayers/Map.jsx adapted for detection of features of type RenderFeature used for MVT layers. By doing that, MVT layers are clickable and the intersected features are return on clic TileProviderLayer for being able to create MVT layer and display it.
- Create a viewer using pnx-photo-viewer to display pictures. - Add a Panoramax VectorTileLayer using OpenLayers styling to match other providers. - Handle click events: retrieve picture data directly from the layer datas, or call the API if the data is not found.
…h, Italian and German
Removed unused DEFAULT_SRS constant from panoramax.js to match the eslint configuration
63ecef7 to
f8078d3
Compare
|
Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Nakouban Raoul CAMARA.
|
…ure in startpoint/endpoint geom function
f8078d3 to
816472b
Compare
|
I created the #12312 issue for this, in order to move on and finalize this task. |
* Adapt Mapstore2 for Panoramax support map.forEachFeatureAtPixel in openlayers/Map.jsx adapted for detection of features of type RenderFeature used for MVT layers. By doing that, MVT layers are clickable and the intersected features are return on clic TileProviderLayer for being able to create MVT layer and display it. * Add and configure Panoramax plugin in StreetView component - Create a viewer using pnx-photo-viewer to display pictures. - Add a Panoramax VectorTileLayer using OpenLayers styling to match other providers. - Handle click events: retrieve picture data directly from the layer datas, or call the API if the data is not found. * Translate panoramax emptySelection message in French, English, Spanish, Italian and German * Remove unused DEFAULT_SRS constant Removed unused DEFAULT_SRS constant from panoramax.js to match the eslint configuration * minor fixes * Fix style support for RenderFeature * fixed more french issues * fixed json style * Fix typo and french issues * return pre computed geom instead of getting it from the original feature in startpoint/endpoint geom function --------- Co-authored-by: Lorenzo Natali <[email protected]>
* Add Portuguese (pt-PT) translation Complete European Portuguese translation covering ~97% of UI strings. Translated using MapStore2 translation format with proper pt-PT locale. * #12207: Fix - ScaleBox plugin - Custom scales not reported on map load (#12212) * #12207: Fix - ScaleBox plugin - Custom scales not reported on map load * update test * code cleanup * #12094: Fix dropdown menu overflow when adding links to text widget in TextEditor (#12260) Description: - Add linkModalDirection prop to CompactRichTextEditor to control dropdown positioning and prevent off-screen overflow when adding links in the dashboard editor and edit annotation screen - add unit test * Fix #12146: ArcGIS support for FeatureService (#12235) * #12146: ArcGIS support for FeatureService * fix DynamicPanel layout, improve tests (#12135) Fix #12114 DynamicPanel layout * Fix #12240 TOC Layer item won't move when drag and drop (#12241) * Custom Tick Labels Support in Chart Axis #12266 (#12280) * Add custom axis tick values and labels to charts * fix tooltips --------- Co-authored-by: Lorenzo Natali <[email protected]> * #12271: Rules manager - clear cache on standalone geofence and multiple gs instances does not work fully (#12279) * #12271: Rules manager - clear cache on standalone geofence and multiple gs instances does not work fully Description: - handle clear cache functionality for multi gs instances for stand-alone geofence - create menu gs instances called CSCleanCacheMenu - add translations - add unit tests * - fix renaming issue of comp name * - update some unit tests for RuleService - remove api function 'cleanCacheGSInstance' in favor ofof expanding 'cleanCache' function - resolvve review comments * #12232: Validate catalog service credentials before saving to prevent silent failures & misleading errors (#12233) * #12232: Validate catalog service credentials before saving to prevent silent failures & misleading errors Description: - for authenticated services, add async credential check via WMS GetCapabilities request - Show clear, localized error messages instead of silent failures in SecurityPopup - Prevent invalid credentials from being stored or saved to maps - Add unit tests and i18n translations (EN, IT, FR, ES, DE) * - fix typo in unit test in SecurityPopupDialog-test file * - revert edits in localConfig * #11589: correct urls in config.yaml to fix issue of print profiles not compatible with windows (#12269) * #11589: correct urls in config.yaml to fix issue of print profiles not compatible with windows - update the urls that has missing file:// part in config.yaml * - add migration guide for the edits in config.yaml file * Update .clabot * Fix #12291 Switching CRS causes jumps between zoom levels. (#12292) * fix #12160: correct theme variables to filter widget and wizard components (#12295) - Replace hardcoded colors with theme variables in wizard.less - remove the hardcoded text color in widgetbuilder/util/filterBuilder file * #12237: fix the background selector show an error in console (#12242) * #12237: fix the background selector show an error in console Description: - Refactored BackgroundSelector.jsx - Moved the logic for detecting and adding the missing Ellipsoid terrain from the main function body into a React.useEffect hook * - resolve review comment of import useEffect instead of using React.useEffect in web/client/components/background/BackgroundSelector.jsx file * fix #12094: fix link popup widget in map layer TOC widget (#12294) * fix #12094: fix link popup widget in map layer TOC widgets * - undo unnecessary edits * #12166: Allow configurable defaults for Printing (#12263) * #12166: Allow configurable defaults for Printing Description: - introduce 'initialSpecSettings' to print plugin cfg to allow custom default print values - Create 'INIT_PRINT_SPEC_FROM_CONFIG' action to dispatch config values on plugin mount - add unit tests * - add reset print spec logic and epic for print state management - introduce `RESET_PRINT_SPEC` action to revert print settings to initial defaults - add `resetMountPrintEpic` to listen for `MAP_PLUGIN_LOAD` dispatches reset if print was previously mounted to ensure a clean state * - enhance reset print spec reducer * - resolve review comment by adding guard to ensure initialSpecSettings exists and has keys before calling initPrintSpec in componentDidMount in plugins/Print file * Fix #12262 - Improve documentation with clear db update policy (#12293) * Fix #12262 - Improve documentation with clear db update policy * minor fix --------- Co-authored-by: Tobia Di Pisa <[email protected]> * Update User Guide - extrusionOutline option for extruded features #12275 (#12278) * add_12275 * add2_12275 * add3_12275 * Update docs/user-guide/annotations.md * Update docs/user-guide/layer-settings.md --------- Co-authored-by: Tobia Di Pisa <[email protected]> * Update User Guide - Improve CRS selector component (#12290) * add-12284 * review_12284 --------- Co-authored-by: Tobia Di Pisa <[email protected]> * Update User Guide - Map editor on Geostories #12274 Co-authored-by: Tobia Di Pisa <[email protected]> * Groupe open/panoramax streetview support (#11822) * Adapt Mapstore2 for Panoramax support map.forEachFeatureAtPixel in openlayers/Map.jsx adapted for detection of features of type RenderFeature used for MVT layers. By doing that, MVT layers are clickable and the intersected features are return on clic TileProviderLayer for being able to create MVT layer and display it. * Add and configure Panoramax plugin in StreetView component - Create a viewer using pnx-photo-viewer to display pictures. - Add a Panoramax VectorTileLayer using OpenLayers styling to match other providers. - Handle click events: retrieve picture data directly from the layer datas, or call the API if the data is not found. * Translate panoramax emptySelection message in French, English, Spanish, Italian and German * Remove unused DEFAULT_SRS constant Removed unused DEFAULT_SRS constant from panoramax.js to match the eslint configuration * minor fixes * Fix style support for RenderFeature * fixed more french issues * fixed json style * Fix typo and french issues * return pre computed geom instead of getting it from the original feature in startpoint/endpoint geom function --------- Co-authored-by: Lorenzo Natali <[email protected]> * Update .clabot * Update .clabot * Fix #12318 - add translations for userSession (#12319) * Fix #12301 Dynamic projection definitions (#12313) --------- Co-authored-by: allyoucanmap <[email protected]> * Fix #11762 :Added support for downloading vector layers as Geojson (#12322) * Fix #12302: Disable cropping WMS layers to map projection extent. (#12303) * Fix #12301 zoom to extent with padding null throw an error (#12325) * Update mip.md (#12326) * #12330: RULES MANAGER - Add possibility to have an extra list of geoserver urls where cache can be invalidated (#12334) * #12330: RULES MANAGER - Add possibility to have an extra list of geoserver urls where cache can be invalidated - introduce root level cfg called 'additionalGsInstancesUrls' - handle clear cache of gs instance and its slaves if existing for single clear cache and clear all - create rulemanager-test epic file - add unit tests * - fix renaming func hasConfiguredGSSlaves * - add JSDoc and config examples for GS slave expansion - Add comprehensive JSDoc to `hasConfiguredGSSlaves` and `expandInstancesWithSlaves` * Introduce slider varient for Dynamic filter #12268 (#12311) * Update Changelog for version 2026.01.01 (#12339) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix #11749 Improve flatgeobuf implementation (#12329) --------- Co-authored-by: stefanocudini <[email protected]> * Fix #12301 projection export workflow and unregistered projection warning (#12342) * Fix #12349 Crs compability check fails when terrain laer is a part of background group (#12350) * #12346: Add requestRuleRefreshHash handling to Cesium layer plugins (#12352) * Fix #12353 Click events not working outside the projection extent (#12356) * Fix #12301 restore fallback to empty map in mapsave selector (#12358) * Update .clabot (#12362) * #12354: fix Issue with mouse coordinates for certain CRS not showing lat, lng for custom geographic CRSs (#12357) - fix the regression issue in editing 'getPosition' function in 'mouseposition/MousePosition.jsx' - add unit test for edits * Fix #12302 Set cropToProjectionExtent to false by default behavior (#12361) * Fix #12301 Improve parsing of axis orientation (#12359) * Fix #12309 - Add usergroups to default monitoredState (#12310) * Fix 12309 - Add usergroups to default monitoredState * Fixed old test * Fixed old test * Moved monitored state. add doc * Revise migration guide for version update Updated migration guide version from 2026.01.00 to 2026.01.02. * Update .clabot (#12366) * Fix .clabot formatting (#12369) * Fix #11930 Catalog Refactor and integration of Geonode api in the Catalog. (#12107) --------- Co-authored-by: allyoucanmap <[email protected]> Co-authored-by: Suren <[email protected]> * Update data.pt-PT.json * Fix #11930 Add title translations and tests (#12370) * Fix #11926 layout and location of timeline plugin (#12332) --------- Co-authored-by: allyoucanmap <[email protected]> * Fix #11749 flatgeobuf styleditor cors (#12374) * Fix #12371 WMS GetMap unhandled error for custom requestsConfigurationRules (#12372) * Fix #12381 Review configuration related to Catalog (#12382) * Fix #12375 New Catalog issue with WFS service (#12378) * Fix #12377 New Catalog UI issue on Dashboard (#12379) * Fix #12376 New Catalog: Advanced settings issue on Dashboard (#12380) * Fix #12383 Remove duplicated catalog components (#12384) * Fix #12383 Remove duplicated catalog components * restore clickable item in resource card * Fix #12375 Review catalog identifier (#12385) * Fix #12375 Review catalog identifier * revert test * change how hash are created * change export of hashCode * Fix #12323 - Add milestone check action (#12324) * Rename job for clarity in workflow * Add City of Rome Geoportal link to README * Fix #12377 Update position of InfoPopover for table and counter widgets (#12388) * Dynamic Filter Widget: "APPLY DIMENSION" to update Time and Elevation #12267 (#12347) * Fix #12390 Advanced Settings are not visible on the TMS (#12393) * Fix #12371 additional condition to prevent tile exception reloding (#12397) * docs: add recommendation to use externalized configuration for database setup (#12396) * Update .gitignore (#12398) * Add User Guide - Export button resulting layer from a geoprocessing operation (#12364) * Fix ESLint/Prettier: remove embedded newline in pageInfoInfinite string (line 2089) * Fix #12411 New Catalog UI - Minor style issues (#12414) * Extend Apply dimension to connect with Chart Axis current Time. #12408 (#12413) * Slider cache issue fixes * Apply dimension for axis * fix: show tick label instead of value * configure hover only for custom Ticks * update elevation chart after when it's value from params changes * fix: avoid negative max height * fix: translations * fix: labels * fix: local env crash due to invalid cleanup * fix: apply clean up fordeleted filter interaction --------- Co-authored-by: Suren <[email protected]> Co-authored-by: mahmoud adel <[email protected]> Co-authored-by: Stefano Cudini <[email protected]> Co-authored-by: RowHeat <[email protected]> Co-authored-by: Lorenzo Natali <[email protected]> Co-authored-by: Tobia Di Pisa <[email protected]> Co-authored-by: Anup Dahal <[email protected]> Co-authored-by: ElenaGallo <[email protected]> Co-authored-by: Nakouban Camara <[email protected]> Co-authored-by: allyoucanmap <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Simone Giannecchini <[email protected]> Co-authored-by: Brice Lecomte <[email protected]> Co-authored-by: Claude Sonnet 4.6 <[email protected]>

Description
This PR introduces support for Panoramax as an additional Street View provider in MapStore2. Users can now visualize street‑level imagery using Panoramax alongside existing providers. The feature includes configuration options, i18n strings, attribution handling, and provider selection at runtime.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
#12312
Panoramax is not supportted as streetview provider.
What is the new behavior?

We can now use panoramax as provider for the streetview plugin.
Breaking change
Other useful information
Panoramax OpenAPI Documentation: https://docs.panoramax.fr/api/api/openapi/
Panoramax Viewer Documentation: https://docs.panoramax.fr/web-viewer/#basic-usage