Positioning map views to show more optimal route information
First Claim
1. A computer-implemented method comprising:
- employing at least one processor to perform steps comprising, obtaining a critical element to be provided in a map view having size and zoom constraints, the critical element associated with a route set containing at least one route; and
computing a map view by positioning the map view relative to the critical element so that more of the route set appears within the map view than appears in a non-positioned map view including by;
determining where each route of the route set reaches a straight line distance from the critical element;
determining a bounding box that includes the critical element and each point that corresponds to where each route reached the straight line distance, and each point of that route between the critical element and the point where the straight line distance was reached; and
computing at least one additional map view at a different zoom level, computing a best score for the map view and each additional map view, and returning the map view or an additional map view based on its computed score relative to the score computed for each other map view.
2 Assignments
0 Petitions
Accused Products
Abstract
Described is a technology by which a more optimal map view with respect to route information is returned in response to an online mapping request. A start or end location is positioned away from the map center as appropriate to show as much route information as possible within the map view, given view size and zoom constraints. In one example, various-sized bounding boxes that contain the start or end location and one or more routes may be evaluated to determine a largest bounding box that meets the mapping size constraint; the center of that bounding box is the center of the map view. In one alternative, map views at various zoom levels may be scored against one another to determine which map view contains the most important route information, such as the most maneuver points and/or landmarks within each map view; the map view with the best score is returned.
-
Citations
15 Claims
-
1. A computer-implemented method comprising:
-
employing at least one processor to perform steps comprising, obtaining a critical element to be provided in a map view having size and zoom constraints, the critical element associated with a route set containing at least one route; and computing a map view by positioning the map view relative to the critical element so that more of the route set appears within the map view than appears in a non-positioned map view including by; determining where each route of the route set reaches a straight line distance from the critical element; determining a bounding box that includes the critical element and each point that corresponds to where each route reached the straight line distance, and each point of that route between the critical element and the point where the straight line distance was reached; and computing at least one additional map view at a different zoom level, computing a best score for the map view and each additional map view, and returning the map view or an additional map view based on its computed score relative to the score computed for each other map view. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. In a computing environment, a system comprising, at least one processor, a memory communicatively coupled to the at least one processor and including instructions configured to provide:
an online mapping service that receives configured to receive a request for a map, the mapping service coupled to a data store configured to provide map data comprising a critical element and route information in response to the request, the mapping service further including map positioning logic configured to generate a plurality of potential map views at different zoom levels and configured to select the map view from among the potential map views by scoring each potential map view with a best score with respect to one or more maneuver points therein including by determining a straight line distance from the critical element to the one or more maneuver points and configured to provide the map data as a map view in which the critical element is positioned so as to appear in the map view along with more route information to or from the critical element relative to route information that appears when the critical element is centered in the map view. - View Dependent Claims (9, 10)
- 11. One or more computer storage devices, having computer-executable instructions, which when executed, perform steps, comprising, returning a map view in response to an online request, including computing a map view based on a critical element that appears as a critical element representation within the map view and route data that appears as at least one route representation within the map view, including by positioning the critical element relative to the map view to have more of each route representation appear in the map view than if the critical element is not positioned, and wherein computing the map view further comprises using different distances from the critical element to determine a set of differently-sized bounding boxes that each contain the critical element and a different amount of route data, and determining the map view based on a largest bounding rectangle that does not exceed a size constraint associated with the map view, and computing a best score for the map view.
Specification