Method and apparatus for non-occluding overlay of user interface or information elements on a contextual map
AssigneeHERE Global B.V.
InventorsJane F. Macfarlane, Craig R. Barnes
Life of this patent
Estimating the term…
Abstract
A method, apparatus and computer program product are provided for non-occluding overlay of user interface or information elements on a contextual map. A method is provided for receiving map data and location data, determining, using a processor, relevant map elements based on the location data; and determining an information element overlay area based on the relevant map elements. The overlay areas do not occlude the relevant map elements.
Claims14
A method comprising:
- receiving map data and location data;
- determining, using a processor, relevant map elements satisfying a relevance threshold based at least in part on the location data, wherein the relevant map elements comprise at least map elements in a direction of travel;
- determining, using the processor, map elements failing to satisfy the relevance threshold;
- generating an overlay area based on the relevant map elements, wherein the generating the overlay area comprises computing a signed distance field and bit mask rendering areas corresponding to relevant map elements satisfying the relevance threshold in a first manner and rendering areas not satisfying the relevance threshold in a second manner, distinct from the first manner;
- determining an initial position for an information element or user interface element within the overlay area;
- determining an amount by which the information element or user interface element overlaps a portion of the overlay area rendered in the first manner;
- repositioning the information element or user interface element according to a gradient provided by the signed distance field in response to the portion of the overlay area rendered in the first manner being at least a predefined amount;
- generating a map based on the map data and including the bit mask rendering areas corresponding to relevant map elements satisfying the relevance threshold and the information element or user interface element;
- and
- causing the map to be rendered on a user interface.
An apparatus comprising at least one processor and at least one memory including computer program code, the at least one memory and computer program code configured to, with the processor, cause the apparatus to at least:
- receive map data and location data;
- determine relevant map elements satisfying a relevance threshold based at least in part on the location data, wherein the relevant map elements comprise at least map elements in a direction of travel;
- determine map elements failing to satisfy the relevance threshold;
- generate an overlay area based on the relevant map elements, wherein the generating the overlay area comprises computing a signed distance field and bit mask rendering areas corresponding to relevant map elements satisfying the relevance threshold in a first manner and rendering areas not satisfying the relevance threshold in a second manner, distinct from the first manner;
- determine an initial position for an information element or user interface element within the overlay area;
- determine an amount by which the information element or user interface element overlaps a portion of the overlay area rendered in the first manner;
- reposition the information element or user interface element according to a gradient provided by the signed distance field in response to the portion of the overlay area rendered in the first manner being at least a predefined amount;
- generate a map based on the map data and including the bit mask rendering areas corresponding to relevant map elements satisfying the relevance threshold and the information element or user interface element;
- and
- cause the map to be rendered on a user interface.
A computer program product comprising at least one non-transitory computer-readable storage medium having computer-executable program code portions stored therein, the computer-executable program code portions comprising program code instructions configured to:
- receive map data and location data;
- determine relevant map elements satisfying a relevance threshold based at least in part on the location data, wherein the relevant map elements comprise at least map elements in a direction of travel;
- determine map elements failing to satisfy the relevance threshold;
- generate an overlay area based on the relevant map elements, wherein the generating the overlay area comprises computing a signed distance field and bit mask rendering areas corresponding to relevant map elements satisfying the relevance threshold in a first manner and rendering areas not satisfying the relevance threshold in a second manner, distinct from the first manner;
- determine an initial position for an information element or user interface element within the overlay area;
- determine an amount by which the information element or user interface element overlaps a portion of the overlay area rendered in the first manner;
- reposition the information element or user interface element according to a gradient provided by the signed distance field in response to the portion of the overlay area rendered in the first manner being at least a predefined amount;
- generate a map based on the map data and including the bit mask rendering areas corresponding to relevant map elements satisfying the relevance threshold and the information element or user interface element;
- and
- cause the map to be rendered on a user interface.
Dependencies are inferred from the claim text.