I do not see in which year this topic was raised, but here's some information.
The location of the carpet factory, at the corner of Fort Street and Charlotte Street, is clearly shown on the large scale Ayr town plan, ordnance survey 1856. This is available online at the National Library of Scotland:-
https://maps.nls.uk/view/74951258Reference and details of the fire, and some harrowing accounts of the deaths and injuries, are described in the following article available at New Zealand National Library (I have come across other information available on the far side of the world regarding situations in Ayr!):-
https://paperspast.natlib.govt.nz/newspapers/CHP18760821.2.16The following map, 1937, shows the spinning mill in Mill Street, which I understood as having grown up in Ayr, was the Templeton factory. Zoom into the map, looking for Station Road and Victoria Bridge. Just before the bridge, in a north westerly direction you will see Mill Street, and up there on the left adjacent to the tannery was the spinning mill.
https://maps.nls.uk/view/82868019I understood from comments made by my parents who knew the Templetons, they had a carpet factory in the Glasgow area, and i would count Paisley as meeting that.
I would appreciate a PM from "maisie76" regarding "Wyllie, Ayrshire"