Skip to content

Commit

Permalink
CADENZA-37395 Add Simplified switch to Create/Edit/SelectGeometry
Browse files Browse the repository at this point in the history
  • Loading branch information
luebke committed Sep 27, 2024
1 parent a53f1db commit 17a391e
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/cadenza.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,15 @@ export class CadenzaClient {
createGeometry(
backgroundMapView,
geometryType,
{ filter, locationFinder, mapExtent, minScale, useMapSrs, operationMode, signal } = {},
{
filter,
locationFinder,
mapExtent,
minScale,
useMapSrs,
operationMode,
signal,
} = {},
) {
this.#log('CadenzaClient#createGeometry', ...arguments);
const params = createParams({
Expand Down Expand Up @@ -664,7 +672,15 @@ export class CadenzaClient {
*/
selectObjects(
backgroundMapView,
{ filter, layers, locationFinder, mapExtent, useMapSrs, operationMode, signal } = {},
{
filter,
layers,
locationFinder,
mapExtent,
useMapSrs,
operationMode,
signal,
} = {},
) {
this.#log('CadenzaClient#selectObjects', ...arguments);
const params = createParams({
Expand Down

0 comments on commit 17a391e

Please sign in to comment.