This is another important factor to look into. There is no point buying an apartment miles away from the location you will be mostly spending time at- be it work, classes, social life, etc. If you are a city person, check around the city. In Sri Lanka, there are many apartments for sale in Colombo- considering it is the metropolitan city centre of the island. It is a popular option and there is high demand. To cater to these, apartment complexes like TRI-ZEN tend to give great options and competitive prices. For the others who wish to live in a quieter place, the best is to choose a location not too far from the city thereby ensuring you strike the perfect balance.
Furthermore, you can also base your location hunt on views- sea view, city view, lake view and so on depending on your preference. For example, yoga practitioners would opt for a more scenic and calm view that will help them practice in peace. Each person is different and there are options that suit individual wants and needs.
Another factor to consider in any circumstance is the neighbourhood to ensure it is a safe place. A notorious neighbourhood will leave you agitated and anxious every day.