1. A method for providing a location based service in an electronic device, the method comprising: classifying location information of the electronic device having a similar characteristic into a category; and mapping an operation of the electronic device according to the category.