×

Device and method for controlling electronic map

  • US 9,728,167 B2
  • Filed: 09/23/2014
  • Issued: 08/08/2017
  • Est. Priority Date: 12/30/2013
  • Status: Active Grant
First Claim
Patent Images

1. A method for controlling zooming-in of an electronic map, the method comprising:

  • determining a target display level to be reached via zooming in when receiving an instruction of zooming in a map, and searching out a plurality of target tiles that need to be displayed in the target display level;

    selecting a pre-loaded display level based on a relationship between a current display level and the target display level, and searching out pre-loaded tiles corresponding to the target tiles in the pre-loaded display level;

    acquiring the pre-loaded tiles and the target tiles according to an order of priority, loading and displaying the pre-loaded tiles by zooming in according to a level difference between the pre-loaded display level and the target display level; and

    after acquiring the target tiles, loading and displaying the target tiles so as to replace the zoomed-in pre-loaded tiles at corresponding positions;

    wherein the searching out a plurality of target tiles that need to be displayed in the target display level comprises;

    according to geographical position coordinates of a zoomed-in central point of a visual region of the map and the target display level of the map, obtaining pixel coordinates of the zoomed-in central point by converting;

    obtaining a pixel size of a single target tile that needs to be displayed based on the target display level of the map;

    obtaining pixel coordinates of two opposite apexes of the visual region of the map according to a pixel size of the visual region of the map and the pixel coordinates of the zoomed-in central point; and

    obtaining the target tiles within the visual region according to the pixel coordinates of two opposite apexes of the visual region of the map and the pixel size of the single target tile that needs to be displayed.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×