"In 1990, at the centre of the park was a Buddha statue with a rectangular flower garden north of it, a telephone booth and entrance to the south of it, and a large play area for children on its western side."
I find myself making sentences like this, but I don't usually know the function of with and whether I should put a comma before it. Dictionaries say it ("with") can be used to specify the position of something, and it also seems that it's a synonym for "which has/had". In my sentence I don't know its function, so I don't know whether a comma should be placed before it.
Also, my intuition tells the sentence is correct, although it doesn't make sense to say a statue was with a rectangular garden.
Please, explain the function of " with" and tell me whether I need to put a comma before it.