nodeRotateAdornmentTemplate center shape

I want to center the way it rotates. I tried, but it doesn’t work

Untitled

const rotateImage = 'M22.855,18.299c0.575-3.917-1.747-7.643-5.521-8.859C14.639,8.573,11.746,9.183,9.619,11l0.24-2.18   c0.039-0.41-0.251-0.782-0.663-0.827C8.784,7.947,8.414,8.244,8.368,8.655l-0.475,4.316c-0.028,0.216,0.044,0.424,0.187,0.583   c0.142,0.159,0.345,0.249,0.559,0.249l4.346-0.004c0.401,0,0.728-0.316,0.748-0.712c0.001-0.013,0.001-0.025,0.001-0.039   c0-0.414-0.337-0.75-0.751-0.749l-2.564,0.002c0.013-0.015,0.019-0.028,0.032-0.043c1.744-1.574,4.169-2.116,6.422-1.39   c2.835,0.913,4.639,3.567,4.539,6.475c-0.052,1.485-0.588,2.929-1.595,4.089c-0.015,0.013-0.027,0.019-0.042,0.033l-0.047-2.563   c-0.008-0.414-0.35-0.744-0.764-0.736c-0.013,0-0.026,0.001-0.039,0.002c-0.396,0.027-0.705,0.36-0.698,0.762l0.079,4.346   c0.004,0.214,0.099,0.415,0.26,0.554c0.161,0.14,0.371,0.208,0.586,0.176l4.306-0.558c0.411-0.053,0.701-0.429,0.647-0.84   c-0.053-0.411-0.431-0.695-0.84-0.647l-2.175,0.282C22.016,21.116,22.632,19.69,22.855,18.299z';

    const nodeRotateAdornmentTemplate =
        goMake(go.Adornment, "Spot",
            { locationSpot: go.Spot.Center, locationObjectName: "CIRCLE", background: "red" },
            goMake(go.Shape, { name: "CIRCLE", cursor: "pointer", geometry: go.Geometry.parse(rotateImage, true), strokeWidth: 0, fill: "#72a8e8", width: 15, height: 15 })
        );

I suspect that you are setting the width and height of the Shape incorrectly – not matching the size of the Geometry that you are assigning. Try not setting the width or height at all.