It was located in a place where trade routes would have to cross, so it got wealthy because it basically controlled the trade routes since they all passed through the Ottoman Empire
The main way in which the Ottoman Empire's location contributed to its power was that it was in a prime position for trade with other nations, due to its location on the Mediterranean Sea.