If you want to place a building you may notice that there is a building size in the details view:

The world map is divided into hexagonal tiles. The size of the building determines how many connected hexagonal tiles the building will occupy.

If there are not enough free hexagonal tiles next to the tile where the building is placed, the building cannot be built in that location.