Ideally situated at one end of the Strait of Malacca , Singapore grew into a hub for trade from Asia to Europe , first for spices from Indonesia and tea from China and now for high-technology goods from factories in China , Malaysia and Thailand .