Patent ID: 6922157

Claim:
An electronic device that includes: a storage unit for storing map data including figure data formed of at least shape point coordinate array data; an execution unit for executing given processing based on the map data stored in the storage unit; a reception unit for receiving update information supplied from an outside, wherein the update information is for updating the map data stored in the storage unit, wherein the update information includes specifying information for specifying updated figure data that is to be updated in the map data and new figure data, the new figure data which the updated figure data is updated with and is formed of at least shape point coordinate array data, and wherein the specifying information and the new figure data are correlated with each other; and an update unit for, when the update information is received, specifying the updated figure data from the map data in the storage unit and updating the specified updated figure data with the new figure data, the electronic device comprising: a determination unit for determining whether an initially-continuous figure has a discontinuous portion in a connection portion between the new figure data and an adjacent figure data, wherein, after updating by the update unit, the adjacent figure data is not updated in the map data stored in the storage unit and is adjacent to the new figure data; and a shape correction unit for moving, when the initially-continuous figure is determined to have the discontinuous portion in the connection portion, at least one of an end shape point of the new figure data and an end shape point of the adjacent figure data, wherein each of the two end shape points is included in a plurality of shape points and corresponds to the discontinuous portion, so as to bring the two end shape points into correspondence, wherein a shape-corrected map data that is shape-corrected by the shape correction unit is stored in the storage unit or both of determining by the determination unit and moving by the shape correction unit are executed when the map data is read from the storage unit in accordance with executing the given processing.