Method for displaying a position on a map
First Claim
1. A computer-implemented method of operating a mapping application, the method executable by a processor of an electronic device comprising a display interface, the display interface causing display of a map, the method comprising:
- receiving a first coordinate indicative of a position associated with the electronic device;
receiving a second coordinate of an object having a curve displayable on the map near the position;
determining if the first coordinate lies on the curve;
upon determining that the first coordinate does not lie on the curve, identifying a point of the curve nearest to the position, said identifying comprisingidentifying a first segment of the curve bounded by a first region and a second segment of the curve bounded by a second region;
determining that a distance from the position to a point of the first segment is not greater than a distance from the position to a known nearest point of the second region; and
calculating a shortest distance from the position to the first segment as a shortest distance from the position to either of the first segment and the second segment without calculating, by the processor, a distance from the position to at least one point of the second segment other than the known nearest point of the second region; and
displaying, by the display interface, an indication of the point of the curve nearest to the first coordinate on the map, the indication being indicative of a correct position associated with the electronic device.
4 Assignments
0 Petitions
Accused Products
Abstract
There is disclosed a method executable by an electronic device for displaying a position on a map. The method comprises appreciating coordinates of position; appreciating coordinates of a map object having a curve near position; identifying a point of curve nearest to position comprising identifying a first segment of curve bounded by a first region and a second segment of curve bounded by a second region, determining that a distance from position to a point of first segment is not greater than a distance from position to a known nearest point of second region, and calculating a shortest distance from position to first segment as a shortest distance from position to either of first segment and second segment without calculating a distance from position to at least one point of second segment other than known nearest point of second region; and causing displaying, on map, of an indication of point of curve nearest to position.
-
Citations
20 Claims
-
1. A computer-implemented method of operating a mapping application, the method executable by a processor of an electronic device comprising a display interface, the display interface causing display of a map, the method comprising:
-
receiving a first coordinate indicative of a position associated with the electronic device; receiving a second coordinate of an object having a curve displayable on the map near the position; determining if the first coordinate lies on the curve; upon determining that the first coordinate does not lie on the curve, identifying a point of the curve nearest to the position, said identifying comprising identifying a first segment of the curve bounded by a first region and a second segment of the curve bounded by a second region; determining that a distance from the position to a point of the first segment is not greater than a distance from the position to a known nearest point of the second region; and calculating a shortest distance from the position to the first segment as a shortest distance from the position to either of the first segment and the second segment without calculating, by the processor, a distance from the position to at least one point of the second segment other than the known nearest point of the second region; and displaying, by the display interface, an indication of the point of the curve nearest to the first coordinate on the map, the indication being indicative of a correct position associated with the electronic device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-implemented method of operating a mapping application, the method executable by a processor of an electronic device comprising a display interface, the display interface displaying a map, the method comprising:
-
receiving a first coordinate indicative of a position associated with the electronic device; receiving a second coordinate of an object having a curve displayable on the map near the position; determining if the first coordinate lies on the curve; upon determining that the first coordinate does not lie on the curve, identifying a point of the curve nearest to the position, said identifying comprising identifying a monotonic segment of the curve bounded by a region having a known nearest point to the position; determining that the monotonic segment monotonically progresses away from the position from the known nearest point; calculating a distance from the position to the known nearest point of the region as a shortest distance from the position to the monotonic segment without calculating, by the processor, a distance from the position to at least one point of the monotonic segment other than the known nearest point of the region; and displaying, by the display interface, the point of the curve nearest to the first coordinate on the map, the indication being indicative of a correct position associated with the electronic device. - View Dependent Claims (13, 14, 15)
-
-
16. A non-transitory computer-readable medium storing program instructions for operating a mapping application, the program instructions being executable by a processor of an electronic device comprising a display interface, to effect:
-
receiving a first coordinate indicative of a position associated with the electronic device; receiving a second coordinate of an object having a curve displayable on the map near the position; determining if the first coordinate lies on the curve; upon determining that the first coordinate does not lie on the curve, identifying of a point of the curve nearest to the position, said identifying comprising identifying of a first segment of the curve bounded by a first region and a second segment of the curve bounded by a second region; determining that a distance from the position to a point of the first segment is not greater than a distance from the position to a known nearest point of the second region; and calculating of a shortest distance from the position to the first segment as a shortest distance from the position to either of the first segment and the second segment without calculating, by the processor, a distance from the position to at least one point of the second segment other than the known nearest point of the second region; and displaying, by the display interface, the point of the curve nearest to the first coordinate on the map, the indication being indicative of a correct position associated with the electronic device. - View Dependent Claims (17, 18, 19, 20)
-
Specification