Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CADENZA-37531 and CADENZA-38242: (#67)
* CADENZA-37531 and CADENZA-38242: - Cleanup of type definition 'LayerDefinition' - Fix displaying of parameter descriptions in case of an options object being destructured immediately (in this case the parameter descriptions weren't visible in the documentation) - Order the parameters in alphabetical order - Add the Cadenza JS part for zooming extensions * CADENZA-37531 and CADENZA-38242: - Fix CadenzaClientOptions to use options again instead of __namedParameter * CADENZA-37531 and CADENZA-38242: - Ran prettier now - Added Changelog entries * CADENZA-37531 and CADENZA-38242: - Remove duplicated Changelog entry * CADENZA-37531 and CADENZA-38242: - Add overriding of locationFinder by mapExtent also explicitely in the code like it was before the story CADENZA-37531 * CADENZA-37531 and CADENZA-38242: - Fix handling useMapSrs parameter for creating a valid GeometryZoomTarget * CADENZA-37531 and CADENZA-38242: - Change Sandbox to be usable with all supported ZoomTargets * CADENZA-37531 and CADENZA-38242: - Add the zoomTarget also to the "createGeometry" action * CADENZA-37531 and CADENZA-38242: Changes after first code review: - Remove the DefaultZoomTarget and the DataExtentZoomTarget - Add the description of the DefaultZoomTarget to the ZoomTarget type - Add the functionality of DataExtentZoomTarget to the LayerDataExtentZoomTarget in case of having no "layers" specified - Rename the MapExtentZoomTarget to StaticZoomTarget - Add the deprecation hint also to the description of the CadenzaClient - Don't let it be possible to have a different "useMapSrs" parameter in the GeometryZoomTarget - Rewrite the description of the "useMapSrs" parameter to make it clear it applies to all given coordinates - Rename the function "createValidZoomTarget" to "sanitizeZoomTarget" and make it much simpler - Remove 'locationFinder' and 'mapExtent' parameters from the 'createParams' method, because they were already considered correctly in the "sanitizeZoomTarget" method - Simplify the method when to send the 'setZoomTarget' postMessage and when to not do it - Add the "zoomTarget" parameter also to the "selectObjects" method to apply the extent and locationFinder parameters also correctly there - Adapt the Sandbox to the reduced types of ZoomTargets and add the parameter also to the selectObjects command * CADENZA-37531 and CADENZA-38242: Remove unneeded namespace
- Loading branch information