×

Device and method for controlling electronic map

  • US 9,972,285 B2
  • Filed: 08/01/2017
  • Issued: 05/15/2018
  • Est. Priority Date: 12/30/2013
  • Status: Active Grant
First Claim
Patent Images

1. A device for controlling panning of an electronic map, the device comprising:

  • at least a processor; and

    at least a memory communicatively coupled to the at least a processor, the at least a memory bearing processor-executable instructions that upon execution by the at least a processor cause the device to perform at least the following operations;

    searching out a plurality of target tiles that need to be loaded and displayed when receiving an instruction of panning a map;

    selecting a pre-loaded display level based on a current 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, and loading and displaying the pre-loaded tiles by zooming in according to a level difference between the pre-loaded display level and the current 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 loaded and displayed comprises;

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

    obtaining a pixel size of a single tile in the current display level based on the current display level of the map;

    obtaining, according to the pixel size of the visual region of the map and the pixel coordinates of the central point, pixel coordinates of two opposite apexes of the visual region of the map; and

    obtaining serial numbers of tiles in the visual region according to the pixel coordinates of the two opposite apexes of the visual region of the map and the pixel size of the single tile in the current display level.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×