Method and device for drawing molecular formula annotation on electronic map

An electronic map and molecular formula technology, applied in the direction of maps/plans/charts, geographic information databases, instruments, etc., can solve the problems of invisibility and beauty, and achieve the effect of less error-prone, simple overall, intuitive and beautiful display
CN108509570BActive Publication Date: 2020-12-04武汉智博创享科技股份有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
武汉智博创享科技股份有限公司
Publication Date
2020-12-04

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a method and a device for drawing a molecular formula annotation on an electronic map. The method comprises the following steps that: obtaining a position coordinate which needsto draw the annotation on the electronic map, and converting the position coordinate into a pixel coordinate (x,y); independently taking two attribute field values of which the annotations need to bedisplayed as the numerator and the denominator of the molecular formula, measuring the length of the numerator character and the denominator character in the molecular formula, and converting into ascreen pixel distance; measuring the height of the denominator character in the molecular formula, and converting into a screen pixel distance; calculating the length of a fraction line; calculating the drawing positions of the numerator character, the fraction line and the denominator character; and drawing the numerator, the denominator and the fraction line to the corresponding positions of theelectronic map to form an integral molecular formula annotation. By use of the method, two attribute field values can be displayed through one modular formula annotation so as to be more visually andattractively displayed, annotation display is clear, and a drawing method is integrally simple and is unlikely to make mistakes.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of electronic map display, in particular to a method and device for drawing molecular formula notes on an electronic map. Background technique

[0002] Electronic map annotation is one of the map languages, which is directly related to the aesthetics and practicality of the map. Therefore, annotation is an important content in the production of electronic maps. However, the existing electronic map annotation generally only displays one key field value. For annotations that need to display two attribute field values, the bracket mode or the two-line mode is generally used, which is not intuitive and beautiful for users. Contents of the invention

[0003] The purpose of the present invention is to provide a method and device for drawing molecular formula annotations on an electronic map, aiming to solve the problem that the existing annotations using bracket mode or two-line mode to display two attribute field values...

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