Problem with binding

Hallo Walter,
I am in evaluation phase of the GoJs and trying to develop a simple binding.
As you see I want to bind “Location”, “width” and “Height” of node(were shown in Inspector and I use ResizeMultipleTool ).
Location is OK, but “Width” and “Height” have problem.

Could you help me?

myDiagram.nodeTemplateMap.add(“Switch”,
$(go.Node,go.Panel.Auto,{locationSpot: go.Spot.Center, rotatable: true, resizable: true},
new go.Binding(“location”, “loc”,go.Point.parse).makeTwoWay(go.Point.stringify),
new go.Binding(“Width”, “Width”).makeTwoWay(),
$(go.Shape,{figure: “RoundedRectangle”, fill: “green”, strokeWidth: 4 },
new go.Binding(“stroke”, “color”),
new go.Binding(“Width”, “Width”).makeTwoWay(),
{portId: “”,fromLinkable: true,toLinkable: true,cursor: “pointer”, fromLinkableDuplicates: true, toLinkableDuplicates: true ),
$(go.Shape,{margin:3, fill: “white” },
new go.Binding(“geometry”, “geo”,geoFunc),
new go.Binding(“Width”, “Width”).makeTwoWay())));

Best Regards,
Mohsen

If you are using the debug library, go-debug.js, and are carefully watching the console output, as you always should when developing your software, you should have seen warnings that “Width” is not a property of Node or Shape.

JavaScript is case-sensitive. Use “width” instead.