An electronic device comprising: a first sensor and a second sensor configured to collect sensing information in response to detecting movement of the electronic device, wherein the first sensor is a GPS sensor and the second sensor is a pedometer; a non-transitory memory configured to store one or more executable instructions associated with an exercise function; at least one processor connected to the memory, the at least one processor executes at least one instruction associated with the exercise function to output information associated with the exercise function; wherein the at least one processor is configured to calculate a distance traveled by the electronic device based on sensor information received from the first sensor; wherein if the first sensor information is not received, the at least one processor calculates the distance traveled based on second sensor data; wherein the at least one processor is further configured to divide the calculated distance traveled by the electronic device according to a specified reference unit representing a certain unit distance; and a display operatively coupled to the at least one processor; characterized in that the execution of the at least one instruction configures the at least one processor to: determine whether the calculated distance traveled reaches a reference unit point, wherein a reference unit point is a point representing a multiple of the specified reference unit; determine whether first sensor information exists for the reference unit point; output map information in a map information region of the display; output, if first sensor information exists for the reference unit point, a movement mark indicating the reference unit point at the corresponding GPS coordinates, wherein the movement mark includes order information, skip outputting the movement mark if first sensor information does not exist for the reference unit point, and output a line having a specified width and color instead. a first sensor and a second sensor configured to collect sensing information in response to detecting movement of the electronic device, wherein the first sensor is a GPS sensor and the second sensor is a pedometer; a non-transitory memory configured to store one or more executable instructions associated with an exercise function; at least one processor connected to the memory, the at least one processor executes at least one instruction associated with the exercise function to output information associated with the exercise function; wherein the at least one processor is configured to calculate a distance traveled by the electronic device based on sensor information received from the first sensor; wherein if the first sensor information is not received, the at least one processor calculates the distance traveled based on second sensor data; wherein the at least one processor is further configured to divide the calculated distance traveled by the electronic device according to a specified reference unit representing a certain unit distance; and a display operatively coupled to the at least one processor; characterized in that the execution of the at least one instruction configures the at least one processor to: determine whether the calculated distance traveled reaches a reference unit point, wherein a reference unit point is a point representing a multiple of the specified reference unit; determine whether first sensor information exists for the reference unit point; output map information in a map information region of the display; output, if first sensor information exists for the reference unit point, a movement mark indicating the reference unit point at the corresponding GPS coordinates, wherein the movement mark includes order information, skip outputting the movement mark if first sensor information does not exist for the reference unit point, and output a line having a specified width and color instead. determine whether the calculated distance traveled reaches a reference unit point, wherein a reference unit point is a point representing a multiple of the specified reference unit; determine whether first sensor information exists for the reference unit point; output map information in a map information region of the display; output, if first sensor information exists for the reference unit point, a movement mark indicating the reference unit point at the corresponding GPS coordinates, wherein the movement mark includes order information, skip outputting the movement mark if first sensor information does not exist for the reference unit point, and output a line having a specified width and color instead.