Dynamically controlling map viewport in view of user signals
AssigneeGoogle Inc.
InventorZhou Bailiang
Life of this patent
Estimating the term…
Abstract
A non-transitory computer-readable medium stores instructions that implement an application programming interface (API) for generating digital maps. When invoked by a software module executing on one or more processors of a client device, the API operates to (i) determine a geographic location to be included in a digital map, where the geographic location is specified by a server device coupled to the client device via a communication network, (ii) select a parameter for a viewport of the digital map based at least on a distance from a current location of the client device to the specified geographic location, (iii) generate the digital map in accordance with the selected parameter, and display the digital map via a user interface of the client device.
Claims20
A non-transitory computer-readable medium storing thereon instructions that implement an application programming interface (API) for generating digital maps, wherein the API operates to:
- when invoked by a software module executing on one or more processors of a client device, determine a geographic location to be included in a digital map, wherein the geographic location is specified by a server device coupled to the client device via a communication network;
- in response to determining the geographic location, determine a distance from a current location of the client device to the specified geographic location;
- based at least on the distance from the current location of the client device to the specified geographic location, select a parameter for a viewport of the digital map;
- generate the digital map in accordance with the selected parameter, wherein the current location of the client device is not included within the digital map;
- and
- display the digital map via a user interface of the client device.
A method for generating digital maps, the method comprising:
- receiving, by one or more processors, a request to provide an indication of a certain geographic location to a first device operated by a first user and a second device operated by a second user;
- in response to receiving the indication of the certain geographic location, determining, by the one or more processors, a first distance between the indicated geographic location and a geographic location of the first device and a second distance between the geographic location and a geographic location of the second device;
- based at least in part on the first distance, determining, by the one or more processors, a first zoom level for a digital map including the geographic location and not including the geographic location of the first device;
- based at least in part on the first distance, determining, by the one or more processors, a second zoom level for a digital map including the geographic location and the geographic location of the second device;
- and
- causing, by the one or more processors, a first digital map to be displayed via the first device at the first zoom level, and a second digital map to be displayed via the second device at the second zoom level.
A method for generating digital maps, the method comprising:
- receiving, by one or more processors from a source device operated by a location sharing user, a request to share an indication of a certain geographic location with a first target user operating a first target device and a second target user operating a second target device;
- in response to receiving the request to share the indication of the certain geographic location, determining, by the one or more processors, a first distance between a current location of the first target user and the indicated geographic location and a second distance between a current location of the second target user and the indicated geographic location;
- based at least in part on the first determined distance, determining, by the one or more processors, a first viewport parameter for a first digital map including the indicated geographic location and not including the current location of the first target device;
- based at least in part on the second determined distance, determining, by the one or more processors, a second viewport parameter for a second digital map including the indicated geographic location and the current location of the second target device;
- and
- causing, by the one or more processors, a first digital map to be displayed via the first device according to the first viewport parameter, and a second digital map to be displayed via the second device according to the second viewport parameter.
Dependencies are inferred from the claim text.