You need to turn on location services by going to settings -> privacy and settings -> location services  and turn on location services.