主权项 |
1. A method for providing interactive user controls in a geographic application, the method comprising:
providing, by one or more processors via a user interface, a digital map of a geographic area within a viewport, wherein the viewport defines a viewable portion of the digital map; repositioning, by the one or more processors, the viewport relative to the digital map in accordance with user commands provided via the user interface; detecting, by the one or more processors, a sequence of user commands that cause a substantially continuous movement of the viewport; determining, by the one or more processors, a geographic place located in a general direction of the continuous movement of the viewport; and providing, by the one or more processors via the user interface, a control for directly positioning the viewport over a portion of the digital map representing the geographic place. |