US2014320537A1PendingUtilityA1

Method, device and storage medium for controlling electronic map

Assignee: TENCENT TECH SHENZHEN CO LTDPriority: Feb 7, 2013Filed: Jul 3, 2014Published: Oct 30, 2014
Est. expiryFeb 7, 2033(~6.5 yrs left)· nominal 20-yr term from priority
G06F 1/1694G06T 3/60G06F 3/04815G09B 29/007G06F 3/04845G01C 21/3635
43
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

The present disclosure relates to a method, a device and a storage medium for controlling an electronic map. The method includes: detecting a first user operation, configured for setting a viewing angle of the electronic map; in response to the first user operation, setting the viewing angle of the electronic map; and if no first user operation being detected within a predetermined length of time, setting the viewing angle of the electronic map according a posture of the electronic apparatus detected at current time.

Claims

exact text as granted — not AI-modified
What is claimed is: 
     
         1 . A method for controlling an electronic map in an electronic apparatus, the method comprising:
 detecting a first user operation for setting a viewing angle of the electronic map;   in response to the first user operation, setting the viewing angle of the electronic map; and   if no first user operation being detected within a predetermined length of time, setting the viewing angle of the electronic map according a posture of the electronic apparatus detected at current time.   
     
     
         2 . The method as claimed in  claim 1 , wherein, the step of setting the viewing angle of the electronic map according a posture of the electronic apparatus detected at current time, comprises:
 obtaining reference posture parameters of the electronic apparatus;   obtaining current posture parameters of the electronic apparatus;   according to the reference posture parameters and the current posture parameters, obtaining a rotation angle of the electronic apparatus; and   setting the viewing angle of the electronic map according to the rotation angle of the electronic apparatus.   
     
     
         3 . The method as claimed in  claim 2 , further comprising:
 before the step of obtaining reference posture parameters of the electronic apparatus, opening posture detection function of the electronic apparatus; and   if the first user operation being detected, closing the posture detection function of the electronic apparatus.   
     
     
         4 . The method as claimed in  claim 2 , wherein, the step of setting the viewing angle of the electronic map according to the rotation angle of the electronic apparatus, comprises:
 if the rotation angle of the electronic apparatus being smaller than a predetermined value, keeping the viewing angle unchanged.   
     
     
         5 . The method as claimed in  claim 1 , wherein, the step of setting the viewing angle of the electronic map according a posture of the electronic apparatus detected at current time, comprises:
 if a pitch angle of the electronic apparatus being within a predetermined range, setting the pitch angle as the viewing angle of the electronic map.   
     
     
         6 . The method as claimed in  claim 5 , wherein, the predetermined range is from 80 degrees to 100 degrees. 
     
     
         7 . The method as claimed in  claim 5 , wherein, the step of setting the viewing angle of the electronic map in response to the first user operation, comprises:
 if the first user operation being a predetermined operation, setting a predetermined viewing angle as the viewing angle of the electronic map.   
     
     
         8 . A device for controlling an electronic map, wherein the device comprises at least a processor operating in conjunction with a memory and a plurality of modules, the plurality of modules comprises:
 a detecting module, configured to detect a first user operation for setting a viewing angle of the electronic map;   a first setting module, configured to set the viewing angle of the electronic map in response to the first user operation; and   a second setting module, configured to set the viewing angle of the electronic map according a posture of the electronic apparatus detected at current time, if no first user operation being detected within a predetermined length of time.   
     
     
         9 . The device as claimed in  claim 8 , wherein, the second setting module comprises:
 a first obtaining unit, configured to obtain reference posture parameters of the electronic apparatus;   a second obtaining unit, configured to obtain current posture parameters of the electronic apparatus;   rotation angle obtaining unit, configured to obtain a rotation angle of the electronic apparatus according the reference posture parameters and the current posture parameters; and   a viewing angle setting unit, configured to set the viewing angle of the electronic map according to the rotation angle of the electronic apparatus.   
     
     
         10 . The device as claimed in  claim 9 , wherein, the second setting module comprises:
 an opening unit, configured to open posture detection function of the electronic apparatus; and   a closing unit, configured to close the posture detection function of the electronic apparatus, if the first user operation being detected.   
     
     
         11 . The device as claimed in  claim 9 , wherein, the viewing angle setting unit is further configured to keep the viewing angle unchanged, if the rotation angle of the electronic apparatus being smaller than a predetermined value. 
     
     
         12 . The device as claimed in  claim 8 , wherein, the second setting module is further configured to set the pitch angle as the viewing angle of the electronic map, if a pitch angle of the electronic apparatus being within a predetermined range. 
     
     
         13 . The device as claimed in  claim 12 , wherein, the predetermined range is from 80 degrees to 100 degrees. 
     
     
         14 . The device as claimed in  claim 8 , wherein, the first setting module is further configured to set the viewing angle of the electronic map as a predetermined viewing angle, if the first user operation being a predetermined operation. 
     
     
         15 . A non-transitory computer-readable storage medium storing instructions for controlling an electronic map, the instructions comprising:
 detecting a first user operation for setting a viewing angle of the electronic map;   in response to the first user operation, setting the viewing angle of the electronic map; and   if no first user operation being detected within a predetermined length of time, setting the viewing angle of the electronic map according a posture of the electronic apparatus detected at current time.   
     
     
         16 . The computer-readable storage medium as claimed in  claim 15 , wherein, the step of setting the viewing angle of the electronic map according a posture of the electronic apparatus detected at current time, comprises:
 obtaining reference posture parameters of the electronic apparatus;   obtaining current posture parameters of the electronic apparatus;   according the reference posture parameters and the current posture parameters, obtaining a rotation angle of the electronic apparatus; and   setting the viewing angle of the electronic map according to the rotation angle of the electronic apparatus.   
     
     
         17 . The computer-readable storage medium as claimed in  claim 16 , further comprising:
 before the step of obtaining reference posture parameters of the electronic apparatus, opening posture detection function of the electronic apparatus; and   if the first user operation being detected, closing the posture detection function of the electronic apparatus.   
     
     
         18 . The computer-readable storage medium as claimed in  claim 16 , wherein, the step of setting the viewing angle of the electronic map according to the rotation angle of the electronic apparatus, comprises:
 if the rotation angle of the electronic apparatus being smaller than a predetermined value, keeping the viewing angle unchanged.   
     
     
         19 . The computer-readable storage medium as claimed in  claim 15 , wherein, the step of setting the viewing angle of the electronic map according a posture of the electronic apparatus detected at current time, comprises:
 if a pitch angle of the electronic apparatus being within a predetermined range, setting the pitch angle as the viewing angle of the electronic map.   
     
     
         20 . The computer-readable storage medium as claimed in  claim 15 , wherein, the step of setting the viewing angle of the electronic map in response to the first user operation, comprises:
 if the first user operation being a predetermined operation, setting a predetermined viewing angle as the viewing angle of the electronic map.

Join the waitlist — get patent alerts

Track US2014320537A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.