Label orientation
First Claim
Patent Images
1. A computing device, comprising:
- a display;
a sensor;
one or more processors; and
memory storing instructions that, when executed by the one or more processors, cause the computing device to perform operations, comprising;
rotating a geographic map on the display;
in response to rotating the geographic map on the display, rotating on the display a label for a feature of the geographic map;
determining a reference direction of the computing device based on an output of the sensor;
determining, based on the reference direction of the computing device, a first threshold angle relative to the computing device;
determining that an angle of the label relative to the computing device crossed the first threshold angle as the label rotated on the display when the label was in a first orientation;
flipping an orientation of the label on the display from the first orientation to a second orientation in response to determining the angle of the label on the display crossed the first threshold angle;
in response to flipping the orientation of the label from the first orientation to the second orientation, determining a second threshold angle by adjusting the first threshold angle by a predetermined amount in a first direction;
determining that the angle of the label relative to the computing device crossed the second threshold angle as the label rotated on the display when the label was in the second orientation; and
flipping the orientation of the label on the display from the second orientation to the first orientation in response to determining the angle of the label on the display crossed the second threshold angle.
1 Assignment
0 Petitions
Accused Products
Abstract
A computing device can identify, for a placement of a label, a first and second character of the label that have a shortest distance from one another. The placement for the label can define a position at which the label is to be placed in an interactive geographic map and a formatting for that label. The computing device can determine that the first and second identified characters do not overlap. In response to determining that the first and second characters do not overlap, the computing device can select the placement of the label for display in the interactive geographic map.
-
Citations
12 Claims
-
1. A computing device, comprising:
-
a display; a sensor; one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the computing device to perform operations, comprising; rotating a geographic map on the display; in response to rotating the geographic map on the display, rotating on the display a label for a feature of the geographic map; determining a reference direction of the computing device based on an output of the sensor; determining, based on the reference direction of the computing device, a first threshold angle relative to the computing device; determining that an angle of the label relative to the computing device crossed the first threshold angle as the label rotated on the display when the label was in a first orientation; flipping an orientation of the label on the display from the first orientation to a second orientation in response to determining the angle of the label on the display crossed the first threshold angle; in response to flipping the orientation of the label from the first orientation to the second orientation, determining a second threshold angle by adjusting the first threshold angle by a predetermined amount in a first direction; determining that the angle of the label relative to the computing device crossed the second threshold angle as the label rotated on the display when the label was in the second orientation; and flipping the orientation of the label on the display from the second orientation to the first orientation in response to determining the angle of the label on the display crossed the second threshold angle. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method for orienting labels in an interactive geographic map presented on a display of a computing device, the method comprising:
-
receiving, from a map search system and at the computing device, map data that describes a geographic region, the map data including a collection of labels that each describes a feature that is located in the geographic region, each label being associated with a placement in an interactive geographic map that represents the geographic region; rotating the interactive geographic map on the display; in response to rotating the interactive geographic map on the display, rotating on the display a first label of the collection of labels; determining a reference direction of the computing device based on an output of a sensor of the computing device; determining, based on the reference direction of the computing device, a first threshold angle relative to the computing device; determining that an angle of the first label relative to the computing device crossed the first threshold angle as the first label rotated on the display when the first label was in a first orientation; flipping an orientation of the first label on the display from the first orientation to a second orientation in response to determining the angle of the first label on the display crossed the first threshold angle; in response to flipping the orientation of the label from the first orientation to the second orientation, determining a second threshold angle by adjusting the first threshold angle by a predetermined amount in a first direction; determining that the angle of the first label relative to the computing device crossed the second threshold angle as the first label rotated on the display when the first label was in the second orientation; and flipping the orientation of the first label on the display from the second orientation to the first second orientation in response to determining the angle of the first label on the display crossed the second threshold angle. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification