The meaning of location (x,y) data in a replay

I’ve been using the s2protocol to read and parse replay files, and many of the events have a “location” property, which is a pair of (x,y) values corresponding to a map location. My question is: what are the units of length being used? They don’t seem to be the grid hex values which appear when a building is about to be placed.

Thanks in advance.