1. A method for providing a location based service in an electronic device, the method comprising: detecting location information of the electronic device; identifying a category corresponding to the location information based on map data in the electronic device; determining an operation of a plurality of operations of the electronic device previously mapped to the category; and performing the operation of the electronic device, wherein the plurality of operations of the electronic device were previously mapped to the category based on at least one of a time when the operation has been performed or a number of times which the operation has been performed, and wherein the determining of the operation of the plurality of operations comprises determining the most recently performed operation of the plurality of operations or the most frequently performed operation of the plurality of operations.