Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Map drawing method and device

A map drawing and map technology, applied in the field of map drawing, can solve the problems of graphic distortion, freeze, affecting the fluency of user operation of the map, etc., to achieve the effect of improving the display effect, the smooth display, and the response speed.

Pending Publication Date: 2020-04-03
BEIJING AUTONAVI YUNMAP TECH CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when using the image drawn by the canvas element, when encountering map operations such as zooming or continuous movement, since each frame of the image needs to be redrawn, and limited by the performance of the CanvasRenderingContext2D interface, the image drawing process will become It gets stuck, which affects the smoothness of the user's operation of the map
At the same time, since the image drawn using the canvas element is still a bitmap, if the image is not updated in real time during the zoom-in and zoom-out operation, there will be a problem of graphic distortion when using the original image for the zoom operation
Therefore, the existing map element drawing method cannot respond quickly to the user's continuous operations, which affects the user's query operation experience

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Map drawing method and device
  • Map drawing method and device
  • Map drawing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0031] The embodiment of the present invention provides a map drawing method, which is to draw all map elements in the same vector map through a WebGL drawing interface, which can improve image drawing efficiency and realize frame-by-frame drawing of a vector map. It should be noted that before executing the specific drawing method of the present invention, a scene coordinate system needs to be set in advance, and the scene coordinate system is ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a map drawing method and device, relates to the technical field of map drawing, and mainly aims to realize map drawing through a WebGL technology and improve the map drawing efficiency. According to the main technical scheme, the method comprises the steps of obtaining map element slices according to image parameters of a to-be-drawn map; converting the intra-slice coordinates of each map element recorded in the map element slices into scene coordinates in a preset scene coordinate system, wherein the preset scene coordinate system is a three-dimensional coordinate system established based on a plane coordinate system after map projection; storing the scene coordinates and the drawing information of each map element recorded in the map element slice into a drawing data storage object, wherein the drawing data storage object is pre-created corresponding to the map element; obtaining a target image transformation matrix based on a preset scene coordinate system; and drawing the to-be-drawn map from the data stored in the drawing data storage objects corresponding to all the map elements through a preset shader in the graphic processor by utilizing the target image transformation matrix.

Description

technical field [0001] The invention relates to the technical field of map drawing, in particular to a map drawing method and device. Background technique [0002] With the continuous development of browser-side drawing technology, especially after the release of the HTML5 standard, the appearance of drawing interfaces such as canvas and svg, the drawing method of WEB maps has also undergone earth-shaking changes. With advantages such as no distortion, vector maps have gradually replaced part of the share of raster maps, and more and more vector map products have emerged on the Internet. Generally, there are four types of map elements displayed on a WEB map, which are area planes, roads, buildings, and annotations (including annotations such as points of interest (POI), road names, etc.). Usually, after these elements are projected onto the plane, they will be divided into slices according to a certain size. After segmentation, these elements will be distributed on differen...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T11/20
CPCG06T11/206
Inventor 杜萌萌
Owner BEIJING AUTONAVI YUNMAP TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products