CN106598437A - Zoom display method and apparatus for electronic map - Google Patents
Zoom display method and apparatus for electronic map Download PDFInfo
- Publication number
- CN106598437A CN106598437A CN201611198107.7A CN201611198107A CN106598437A CN 106598437 A CN106598437 A CN 106598437A CN 201611198107 A CN201611198107 A CN 201611198107A CN 106598437 A CN106598437 A CN 106598437A
- Authority
- CN
- China
- Prior art keywords
- mark
- focal position
- display
- target
- label range
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3667—Display of a road map
- G01C21/367—Details, e.g. road map scale, orientation, zooming, illumination, level of detail, scrolling of road map or positioning of current position marker
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a zoom display method and apparatus for an electronic map. The method comprises the steps of generating a control instruction of zooming the electronic map according to zoom operation of a user on a display screen; in response to the control instruction, obtaining a focus position indicated on the display screen by the user; judging whether the focus position belongs to a first mark range of display marks or not; when the focus position belongs to the first mark range, searching for a target display mark in the display marks; and performing zooming on the electronic map according to position information of the searched target display mark. The electronic map is subjected to adaptive zooming according to the position information of the target display mark corresponding to an actual target, so that the problem of a deviation caused by conventional focus position-based zooming is solved and the watching experience of the user is relatively good.
Description
Technical field
The present invention relates to electronic chart processing technology field, in particular to a kind of Zoom display side of electronic chart
Method and device.
Background technology
Electronic chart, i.e. numerical map, it is to utilize computer technology, the map for storing in a digital manner and consulting, and
And it can be amplified, reduces or rotate and then show.Electronic chart has been at present a more universal application, its profit
It is data supporting with GIS (GIS-Geographic Information System), by representing in front of the user for geography information close friend directly perceived.Based on electronic chart
Application also weed out the old and bring forth the new constantly development, add the positioning services such as GPS (global positioning system), the Big Dipper and be more advantageous in electronics
Member on map to carrying positioning function equipment (such as smart mobile phone, vehicle carried pick device) is efficiently managed.
In addition, having function of search on many electronic charts, for example, hotel, station etc. are searched for, but after searching, work as mouse
Be suspended in when zooming in and out in target, all can produce certain skew with original position, currently a popular map (as Gao De, Baidu,
Google, QQ) all it is so.Map shown in Figure 1 amplify before and after comparison diagram, the home position of mouse (Fig. 1 at label 7
Shown in (a)), after map amplifies, there is certain skew (shown in Fig. 1 (b)) in the current location of mouse with the position of label 7.
Inventor has found under study for action, the method zoomed in and out based on the accurate location of mouse in prior art, due to inclined
From the intention that user is intended to zoom in and out target, the Experience Degree of user greatly reduces.
The content of the invention
In view of this, it is an object of the invention to provide a kind of Zoom display method and apparatus of electronic chart, according to mesh
Mark is zoomed in and out to electronic chart, overcomes a deviation caused by traditional scaling institute based on focal position, the viewing experience of user
Degree is preferable.
In a first aspect, embodiments providing a kind of Zoom display method of electronic chart, methods described includes:
The control instruction of scaling electronic chart is generated to the zoom operations of display screen according to user;
In response to the control instruction, the focal position that the user indicates on the display screen is obtained;
Judge whether the focal position belongs to the first label range for showing mark;
When the focal position belongs to first label range, search in mark that target shows mark from described display
Note;
Show that the positional information of mark is zoomed in and out to the electronic chart according to the target for finding.
With reference in a first aspect, embodiments provide the first possible embodiment of first aspect, wherein, institute
State and judge whether the focal position belongs to the first label range for showing mark, including:
Whether deposited with first label range for showing mark according to the corresponding focus in the focal position
Occuring simultaneously, judging whether the focal position belongs to first label range for showing mark.
With reference to the first possible embodiment of first aspect or first aspect, first party is embodiments provided
Second possible embodiment in face, wherein, it is described search in mark that target shows mark from described display, including:
When the focal position belongs to first label range, judge that first label range is corresponding and show mark
Whether note is unique;
If the display for determining is labeled as one, show that mark shows mark as target using corresponding;
If the display for determining be labeled as it is multiple, according to mark importance degree from it is described show mark in search target
Show mark.
With reference to second possible embodiment of first aspect, the third of first aspect is embodiments provided
Possible embodiment, wherein, it is described search in mark that target shows mark from described display according to mark importance degree, including:
According to the show levels and corresponding first weight information of the show levels for showing mark, set up corresponding
First mark importance degree, shows that mark is corresponding with the location matches degree of the focal position and the location matches degree according to described
The second weight information, corresponding second mark importance degree is set up, according to the historic user behavior and described for showing mark
Corresponding 3rd weight information of historic user behavior, sets up corresponding 3rd mark importance degree;
Summation fortune is carried out to the described first mark importance degree, the second mark importance degree and the 3rd mark importance degree
Calculate, obtain the mark importance degree for showing mark;
Ranking is carried out to the display mark according to mark importance degree clooating sequence from high to low, by top ranked
Display mark as target show mark.
With reference in a first aspect, embodiments provide the 4th kind of possible embodiment of first aspect, wherein, also
Including:
When the focal position is not belonging to first label range, judges whether the focal position belongs to and do not show
Second label range of mark;
When the focal position belongs to second label range, search in mark that target does not show from described display
Mark, and do not show that the positional information of mark is zoomed in and out to the electronic chart according to the target for finding;
When the focal position is not belonging to second label range, according to the corresponding focus in the focal position
Center the electronic chart is zoomed in and out.
Second aspect, the embodiment of the present invention additionally provides a kind of Zoom display device of electronic chart, and described device includes:
Operation module, for according to user the zoom operations of display screen to be generated with the control instruction of scaling electronic chart;
Acquisition module, in response to the control instruction, obtaining the focus that the user indicates on the display screen
Position;
First judge module, for judging whether the focal position belongs to the first label range for showing mark;
Searching modul, for when the focal position belongs to first label range, looking into from described display in mark
Target is looked for show mark;
First Zoom module, for being shown the positional information of mark to the electronic chart according to the target for finding
Zoom in and out.
With reference to second aspect, the first possible embodiment of second aspect is embodiments provided, wherein, institute
The first judge module is stated, is additionally operable to according to the corresponding focus in the focal position and first mark for showing mark
Note scope judges whether the focal position belongs to first label range for showing mark with the presence or absence of occuring simultaneously.
With reference to the first possible embodiment of second aspect or second aspect, second party is embodiments provided
Second possible embodiment in face, wherein, the searching modul includes:
Judging unit, for when the focal position belongs to first label range, judging the first mark model
Enclose corresponding display to mark whether uniquely;
First searching unit, during for being labeled as one in the display for determining, then shows that mark is made by corresponding
Show for target and mark;
Second searching unit, during for being labeled as multiple in the display for determining, then according to mark importance degree from institute
State and target display mark is searched in display mark.
With reference to second possible embodiment of second aspect, the third of second aspect is embodiments provided
Possible embodiment, wherein, second searching unit includes:
Subelement is set up, for according to the show levels and corresponding first weight of the show levels for showing mark
Information, sets up corresponding first mark importance degree, according to location matches degree and the institute for showing mark and the focal position
Rheme puts corresponding second weight information of matching degree, sets up corresponding second mark importance degree, and according to described going through for mark is shown
History user behavior and corresponding 3rd weight information of the historic user behavior, set up corresponding 3rd mark importance degree;
Subelement is generated, for the described first mark importance degree, the second mark importance degree and the 3rd mark
Importance degree carries out summation operation, obtains the mark importance degree for showing mark;
Subelement is searched, the display mark is carried out for the clooating sequence according to the mark importance degree from high to low
Ranking, the display mark of top ranked is shown as target and is marked.
With reference to second aspect, the 4th kind of possible embodiment of second aspect is embodiments provided, wherein, also
Including:
Second judge module, for when the focal position is not belonging to first label range, judging the focus
Whether position belongs to the second label range for not showing mark;
Second Zoom module, for when the focal position belongs to second label range, from described mark not being shown
Target is searched in note and does not show mark, and according to the target for finding do not show the positional information of mark to it is described electronically
Figure is zoomed in and out;
3rd Zoom module, for when the focal position is not belonging to second label range, according to the focus
The center of the corresponding focus in position zooms in and out to the electronic chart.
Based on mouse in the Zoom display method and apparatus of electronic chart provided in an embodiment of the present invention, with prior art
The method that accurate location is zoomed in and out, the intention zoomed in and out to target due to deviate from user to be intended to, greatly reduces use
The Experience Degree at family is compared, and it generates first the control instruction of scaling electronic chart according to user to the zoom operations of display screen, and
After the control instruction is responded, the focal position that user indicates on a display screen is obtained, whether then judge above-mentioned focal position
Belong to the first label range for showing mark, and when above-mentioned first label range is belonged to, from above-mentioned display mark mesh is searched
Mark shows mark, shows that the corresponding positional information of mark is zoomed in and out to electronic chart finally according to the target, and it is according to reality
The corresponding target of target shows that the positional information of mark is adaptively scaled to electronic chart, overcomes traditional based on Jiao
Offset issue caused by the scaling institute of point position, the viewing experience degree of user is preferable.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to what is used needed for embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows the schematic diagram in prior art before and after electronic chart scaling;
Fig. 2 shows a kind of flow chart of the Zoom display method of electronic chart that the embodiment of the present invention is provided;
Fig. 3 shows the flow chart of the Zoom display method of another kind of electronic chart that the embodiment of the present invention is provided;
Fig. 4 shows the flow chart of the Zoom display method of another kind of electronic chart that the embodiment of the present invention is provided;
Fig. 5 shows the flow chart of the Zoom display method of another kind of electronic chart that the embodiment of the present invention is provided;
Fig. 6 shows a kind of structural representation of the Zoom display device of electronic chart that the embodiment of the present invention is provided;
Fig. 7 shows the knot of searching modul in a kind of Zoom display device of electronic chart that the embodiment of the present invention is provided
Structure schematic diagram;
Fig. 8 shows the second searching unit in a kind of Zoom display device of electronic chart that the embodiment of the present invention is provided
Structural representation.
Main element symbol description:
11st, operation module;22nd, acquisition module;33rd, the first judge module;44th, searching modul;55th, the first Zoom module;
441st, judging unit;442nd, the first searching unit;443rd, the second searching unit;4431st, subelement is set up;4432nd, son is generated single
Unit;4433rd, subelement is searched.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
Middle accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
It is a part of embodiment of the invention, rather than the embodiment of whole.The present invention generally described and illustrated in accompanying drawing herein is real
Applying the component of example can be arranged and be designed with a variety of configurations.Therefore, it is of the invention to what is provided in the accompanying drawings below
The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of the selected reality of the present invention
Apply example.Based on embodiments of the invention, the institute that those skilled in the art are obtained on the premise of creative work is not made
There is other embodiment, belong to the scope of protection of the invention.
In view of the method that zooms in and out of accurate location in prior art based on mouse, due to deviate from user be intended to it is right
The intention that target is zoomed in and out, greatly reduces the Experience Degree of user.Based on this, a kind of electronics is embodiments provided
The Zoom display method and apparatus of map, zooms in and out according to target to electronic chart, overcomes traditional based on focal position
Deviation caused by scaling institute, the viewing experience degree of user is preferable.
In addition, the Zoom display method and apparatus in the electronic chart provided the embodiment of the present invention is specifically explained
Before stating, it is contemplated that the specific application scenarios of the embodiment of the present invention, now the specific term in the application is carried out briefly first
It is bright.
1) electronic chart:That is numerical map, referred to as map, are to utilize computer technology, store in a digital manner and look into
The map read.
2) target:Such as people, car, thing, crucial place, the position that searches is realistic objective, and above-mentioned realistic objective exists
Can be with special pattern image come iconic identification, such as in electronic chart:Capital Beijing (target) is used in Baidu map
Five-pointed star, Beijing Tian An-men (target) also using that the red icon of image shows, all kinds of museums (target) with little palace figure
Mark shows;
3) mark is shown:The graph image that target is represented in electronic chart is referred to as showing mark, in the art of electronic chart
In language be also referred to as covering, it or can not scale with electronic chart equal proportion, typically keep fixed size;
4) display screen:Refer to the carrier for showing electronic chart, usually various types of screens, projection etc., such as PC is aobvious
Show device, typically in units of pixel;
5) label range:The geographic range of the viewing area that mark is covered on a display screen;
6) positional information:Refer to the information of the latitude and longitude coordinates or equivalence determined in electronic chart;
8) display location is marked:Mark corresponding position on a display screen is shown under the current zoom yardstick of electronic chart
Put (typically represented with horizontal X and vertical Y);
9) focus:The graph image of representative current location on a display screen, such as cursor of mouse, tracking cross, target center light
Mark, hand icon etc.;
10) focus:(level of zoom and focus are into anti-for the representative geographic range in electronic chart of focus
Than);
11) focal position:The geographical position of the central point of focus;
12) focus display location:The focus corresponding position (on a display screen under the current zoom yardstick of electronic chart
As represented with horizontal X and vertical Y);
13) focal shift:The distance between mark display location and focus display location (typically have in X and Y both directions
Pixel deviations).
The Zoom display method and apparatus of the electronic chart for next being provided the embodiment of the present invention is specifically addressed.
The flow chart of the Zoom display method of electronic chart provided in an embodiment of the present invention shown in Figure 2, the side
Method specifically includes following steps:
S101, the control instruction that according to user the zoom operations of display screen are generated with scaling electronic chart;
Specifically, the Zoom display method of the electronic chart that the embodiment of the present invention is provided is first according to user to display screen
Zoom operations generate corresponding control instruction, wherein, above-mentioned zoom operations can be realized by double click operation, it is also possible to
Realized by single-click operation, it is also possible to realized by roll mouse wheel operation, it is also possible to by closing up for two fingers
Or operation is decontroled realizing, the embodiment of the present invention does not do specific restriction to the concrete mode of above-mentioned zoom operations, to meet not
With the different demands of user.
S102, the focal position indicated on a display screen in response to control instruction, acquisition user;
Specifically, the embodiment of the present invention is just showing after the control instruction that user operation correspondence is generated is received to user
The focal position indicated in display screen is obtained, wherein, the focal position can be on the basis for getting focus display location
On obtain.
S103, judge focal position whether belong to show mark the first label range;
Specifically, after the focal position of instruction is got, the first of mark will be shown to whether the focal position belongs to
Label range is judged that first label range is corresponding to the geography for showing the viewing area that mark is covered on a display screen
Scope, this mainly considers that realistic objective is corresponding on map and shows a mark usually pictorial pattern, the graphic diagram
Case will be corresponding to a viewing area scope, and the viewing area scope is by corresponding to the geographic range in a longitude and latitude meaning.
S104, when focal position belongs to the first label range, from show mark in search target show mark;
Specifically, after judging that focal position belongs to the first label range for showing mark, if focal position belongs to one
Individual the first label range for showing mark, then show as target using the display mark and mark;If focal position belongs to multiple aobvious
Corresponding first label range (i.e. multiple displays are marked with coincidence) is remembered in indicating, then will show mark from multiple according to mark importance degree
Target is searched in note and shows mark, to meet scaling requirements of the user to target faster.
S105, the positional information marked according to the target display for finding are zoomed in and out to electronic chart.
Specifically, for the target for finding shows mark, the embodiment of the present invention will show that mark is corresponding with the target
Positional information is based on zooming in and out to electronic chart, so, after scaling terminates, it will remove error component focus so that
Scaling is still within identical display location on target label.
Accurate position in the Zoom display method of electronic chart provided in an embodiment of the present invention, with prior art based on mouse
The method for zooming in and out is put, the intention zoomed in and out to target due to deviate from user to be intended to greatly reduces the body of user
Degree of testing is compared, and it generates first the control instruction of scaling electronic chart according to user to the zoom operations of display screen, and in response
After the control instruction, the focal position that user indicates on a display screen is obtained, then judge whether above-mentioned focal position belongs to aobvious
First label range of indicating note, and when above-mentioned first label range is belonged to, search target from above-mentioned display mark and show
Mark, shows that the corresponding positional information of mark is zoomed in and out to electronic chart finally according to the target, and it is according to realistic objective pair
The target answered shows that the positional information of mark is adaptively scaled to electronic chart, overcomes traditional based on focal position
Offset issue caused by scaling institute, the viewing experience degree of user is preferable.
In order to more preferable focusing position is made whether to belong to the judgement of the first label range for showing mark, the present invention is implemented
Example is to whether there is to occur simultaneously with the first label range for showing mark according to the corresponding focus in focal position, judges focus position
Put and whether belong to the first label range for showing mark.That is, whether focal position is belonged to the judgement conversion of the first label range
Be two scopes with the presence or absence of the judgement between occuring simultaneously, if focus and the first label range are present occured simultaneously, that is, illustrate burnt
Point position belongs to the first label range, if focus and the first label range do not have common factor, that is, illustrates focal position not
Belong to the first label range.
Mark, the search procedure of above-mentioned S104, especially by such as are shown in order to preferably search target from display mark
Lower step realizes that flow chart shown in Figure 3, methods described also includes:
S201, when focal position belongs to the first label range, judge the first label range it is corresponding display mark whether
Uniquely;
If S202, the display for determining are labeled as one, show that mark shows mark as target using corresponding;
If S203, the display for determining be labeled as it is multiple, according to mark importance degree from show mark in search target show
Indicating is remembered.
Specifically, it is contemplated that the Zoom display method of the electronic chart that the embodiment of the present invention is provided is optimal based on one
Target is zoomed in and out, therefore, after judging that focal position belongs to the first label range, will be corresponding to the first label range aobvious
The number of indicating note is judged, if display is labeled as one, display mark is shown as target and is marked, to complete
Follow-up zoom operations;If display be labeled as it is multiple, according to mark importance degree from it is multiple show mark in search target show
Indicating is remembered.
Illustrate, when user searches for target in electronic chart, often show that multiple realistic objectives are corresponding aobvious
Indicating is remembered, has covered multiple other displays referring to the display mark 18 in Fig. 1 (a) and marked, in focal position (mouse position
Put) to show mark zoom in and out when, corresponding first label range include it is multiple show mark, now, the present invention implement
Example find out in mark that target shows mark by marking importance degree from multiple will display, in addition, showing that mark 7 is not covered
Other show mark, then the display mark is target and shows mark.
Wherein, when above-mentioned display is labeled as multiple, the Zoom display side of the electronic chart that the embodiment of the present invention is provided
Method will also be shown that mark carries out ranking according to mark importance degree, and corresponding target display mark is obtained from ranking, referring to figure
4, realize especially by following steps:
S301, according to the show levels and corresponding first weight information of show levels for showing mark, set up corresponding the
One mark importance degree, according to the corresponding second weight letter of location matches degree and location matches degree for showing mark and focal position
Breath, sets up corresponding second mark importance degree, according to the historic user behavior and historic user behavior corresponding for showing mark
Three weight informations, set up corresponding 3rd mark importance degree;
S302, to first mark importance degree, second mark importance degree and the 3rd mark importance degree carry out summation operation, obtain
Show the mark importance degree of mark;
S303, the clooating sequence according to mark importance degree from high to low carry out ranking to showing mark, by top ranked
Show that mark shows as target to mark.
Specifically, it is contemplated that the Zoom display method of electronic chart provided by the present invention is zoomed in and out to display mark is
Considered based on many, therefore, before the lookup of target display mark is carried out, it is necessary to initially set up the mark weight of correlation
Spend, the mark importance degree is with location matches degree and the display of the show levels, display mark and focal position for showing mark
The historic user behavior of mark will produce change.
Wherein, the mark importance degree in the embodiment of the present invention is mainly made up of following three part, and a part is marked to show
Show levels and corresponding first weight information of show levels, foundation it is corresponding first mark importance degree, a part be position
Matching degree and corresponding second weight information of location matches degree are put, corresponding the second of foundation marks importance degree, and a part is to go through
History user behavior and corresponding 3rd weight information of historic user behavior, the corresponding 3rd mark importance degree of foundation, mark weight
Spend then for the summed result between the above-mentioned first mark importance degree, the second mark importance degree and the 3rd mark importance degree.
Illustrate, the display mark 18 as shown in Fig. 1 (a), it covers multiple other displays and marks, then the first floor
The display corresponding show levels of mark 18 of display will give the first weight information of maximum, and level is easier the closer to upper strata
Clicked, when multiple targets are shown, clicking on target will make it move to upper strata;In addition, the historical operation behavior to target is got over
Many, weight is bigger, and for search restaurant when, search and check details, order or buy set meal etc. to increase weighted value also
It is different.It can be seen that, comprehensive the considering of the embodiment of the present invention affects the Multiple factors of target display label lookup so that final
Benchmark scaling target have more hommization, with really meet people scaling demand.
In addition, the Zoom display method of electronic chart that the embodiment of the present invention is provided is removed when mark importance degree is set up
The above-mentioned show levels of consideration and its corresponding first weight information, location matches degree and its corresponding second weight information, go through
History user behavior and its corresponding 3rd weight information, also consider initial setting, learning outcome, search matching degree, time
The parameters information such as matching degree and user profile, to meet each demand of different user.
Also exist in the focal position pointed by the current time zoomed in and out to electronic chart in view of user and do not exist
The situation of the first label range, for example, when map is in one and reduces rank than larger state, often can't see target sheet
Body, but this does not imply that user is not desired to the intention being amplified to corresponding target, based on above-mentioned consideration, referring to Fig. 5, this
Bright embodiment is processed especially by the situation that following steps focusing position is not belonging to the first label range:
S401, when focal position is not belonging to the first label range, judge whether focal position belongs to and do not show mark
Second label range;
S402, when focal position belongs to the second label range, never show mark in search target do not show mark, and
Target according to finding does not show that the positional information of mark is zoomed in and out to electronic chart;
S403, when focal position is not belonging to the second label range, according to the center of the corresponding focus in focal position
Position zooms in and out to electronic chart.
Specifically, when focal position is not belonging to the first label range, judge whether focal position belongs to and do not show mark
The second label range, and when the second label range is belonged to, never show and search in mark that target does not show mark, and according to
The target for finding does not show that the positional information of mark is zoomed in and out to electronic chart, and above-mentioned scaling has also considered and do not show
The factors such as location matches degree, the historic user behavior of indicating note carry out the lookup that target does not show mark, do not belong in focal position
(if focal position is in a large range of marine site) when the second label range, will be according to the corresponding focus model in focal position
The center enclosed zooms in and out to electronic chart.
Accurate position in the Zoom display method of electronic chart provided in an embodiment of the present invention, with prior art based on mouse
The method for zooming in and out is put, the intention zoomed in and out to target due to deviate from user to be intended to greatly reduces the body of user
Degree of testing is compared, and it generates first the control instruction of scaling electronic chart according to user to the zoom operations of display screen, and in response
After the control instruction, the focal position that user indicates on a display screen is obtained, then judge whether above-mentioned focal position belongs to aobvious
First label range of indicating note, and when above-mentioned first label range is belonged to, search target from above-mentioned display mark and show
Mark, shows that the corresponding positional information of mark is zoomed in and out to electronic chart finally according to the target, and it is according to realistic objective pair
The target answered shows that the positional information of mark is adaptively scaled to electronic chart, overcomes traditional based on focal position
Offset issue caused by scaling institute, the viewing experience degree of user is preferable.
The embodiment of the present invention additionally provides a kind of Zoom display device of electronic chart, and described device is used to perform above-mentioned one
The Zoom display method of electronic chart is planted, referring to Fig. 6, described device includes:
Operation module 11, for according to user the zoom operations of display screen to be generated with the control instruction of scaling electronic chart;
Acquisition module 22, in response to control instruction, obtaining the focal position that user indicates on a display screen;
First judge module 33, for judging whether focal position belongs to the first label range for showing mark;
Searching modul 44, for when focal position belongs to the first label range, search in mark that target shows from showing
Mark;
First Zoom module 55, for showing that the positional information of mark contracts to electronic chart according to the target for finding
Put.
In order to more preferable focusing position is made whether to belong to the judgement of the first label range for showing mark, the present invention is implemented
The first judge module 33 in example be according to the corresponding focus in focal position with the first label range for showing mark whether
Exist and occur simultaneously, judge whether focal position belongs to the first label range for showing mark.That is, whether focal position is belonged to into first
The judgement of label range is converted into two scopes with the presence or absence of the judgement between occuring simultaneously, if focus and the first label range
Exist and occur simultaneously, that is, illustrate that focal position belongs to the first label range, if there is no common factor in focus and the first label range,
Illustrate that focal position is not belonging to the first label range.
In order to preferably, from showing that search in mark that target shows marks, referring to Fig. 7, above-mentioned searching modul 44 includes:
Judging unit 441, for when focal position belongs to the first label range, judging that the first label range is corresponding aobvious
Show and mark whether uniquely;
First searching unit 442, for being labeled as in the display for determining when one, then using it is corresponding show mark as
Target shows mark;
Second searching unit 443, during for being labeled as multiple in the display for determining, then according to mark importance degree from display
Target is searched in mark and shows mark.
Wherein, when above-mentioned display is labeled as multiple, the Zoom display dress of the electronic chart that the embodiment of the present invention is provided
The second searching unit in putting will also be shown that mark carries out ranking according to mark importance degree, and corresponding target is obtained from ranking
Mark is shown, referring to Fig. 8, second searching unit 443 is specifically included:
Subelement 4431 is set up, for according to the corresponding first weight letter of show levels and show levels for showing mark
Breath, sets up corresponding first mark importance degree, according to the location matches degree and location matches degree pair that show mark and focal position
The second weight information answered, sets up corresponding second mark importance degree, is used according to the historic user behavior and history that show mark
Corresponding 3rd weight information of family behavior, sets up corresponding 3rd mark importance degree;
Subelement 4432 is generated, for entering to the first mark importance degree, the second mark importance degree and the 3rd mark importance degree
Row summation operation, obtains showing the mark importance degree of mark;
Subelement 4433 is searched, is arranged showing mark for the clooating sequence according to mark importance degree from high to low
Name, the display mark of top ranked is shown as target and is marked.
Also exist in the focal position pointed by the current time zoomed in and out to electronic chart in view of user and do not exist
The situation of the first label range, for example, when map is in one and reduces rank than larger state, often can't see target sheet
Body, but this does not imply that user is not desired to the intention being amplified to corresponding target, based on above-mentioned consideration, the embodiment of the present invention
Also include:Second judge module, when focal position is not belonging to the first label range, judges whether focal position belongs to and does not show
Second label range of mark;Second Zoom module, when focal position belongs to the second label range, never shows in mark and looks into
Look for target not show mark, and do not show that the positional information of mark is zoomed in and out to electronic chart according to the target for finding;The
Three Zoom modules, when focal position is not belonging to the second label range, according to the centre bit of the corresponding focus in focal position
Put and electronic chart is zoomed in and out.
Accurate position in the Zoom display device of electronic chart provided in an embodiment of the present invention, with prior art based on mouse
The method for zooming in and out is put, the intention zoomed in and out to target due to deviate from user to be intended to greatly reduces the body of user
Degree of testing is compared, and it generates first the control instruction of scaling electronic chart according to user to the zoom operations of display screen, and in response
After the control instruction, the focal position that user indicates on a display screen is obtained, then judge whether above-mentioned focal position belongs to aobvious
First label range of indicating note, and when above-mentioned first label range is belonged to, search target from above-mentioned display mark and show
Mark, shows that the corresponding positional information of mark is zoomed in and out to electronic chart finally according to the target, and it is according to realistic objective pair
The target answered shows that the positional information of mark is adaptively scaled to electronic chart, overcomes traditional based on focal position
Offset issue caused by scaling institute, the viewing experience degree of user is preferable.
In addition, the Zoom display method and apparatus of electronic chart that the embodiment of the present invention is provided can also bring following skill
Art effect:
1) the more hommization of map scaling, really meets the demand of people's scaling;
2) can be always the positional information for causing focus vision to most worthy when scaling map;
3) moving map or target will be shifted focus to again after during target on map is scaled without the need for amplifying;
4) can self study with reach Continuous optimization scaling purpose.
The computer program of the method for the Zoom display for carrying out electronic chart that the embodiment of the present invention is provided, including
The computer-readable recording medium of program code is stored, the instruction that described program code includes can be used to perform previous methods reality
The method described in example is applied, is implemented and be can be found in embodiment of the method, be will not be described here.
The device of the Zoom display of the electronic chart that the embodiment of the present invention is provided can be equipment on specific hardware or
Person is installed on the software on equipment or firmware etc..The device that the embodiment of the present invention is provided, it realizes the technology of principle and generation
Effect is identical with preceding method embodiment, is brief description, and device embodiment part does not refer to part, refers to preceding method reality
Apply corresponding contents in example.Those skilled in the art can be understood that, for convenience and simplicity of description, described above
System, device and unit specific work process, may be referred to the corresponding process in said method embodiment, here is no longer
Repeat.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, other sides can be passed through
Formula is realized.Device embodiment described above is only schematic, and for example, the division of the unit, only one kind are patrolled
Volume function is divided, and can have other dividing mode when actually realizing, and for example, multiple units or component can with reference to or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in the embodiment that the present invention is provided can be integrated in a processing unit, also may be used
Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized and as independent production marketing or when using using in the form of SFU software functional unit, can be with
In being stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it need not be further defined and is explained in subsequent accompanying drawing, additionally, term " the
One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, specific embodiment only of the invention, to illustrate the present invention
Technical scheme, rather than a limitation, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this
It is bright to be described in detail, it will be understood by those within the art that:Any those familiar with the art
The invention discloses technical scope in, it still can modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of embodiment of the present invention technical scheme.The protection in the present invention should all be covered
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of Zoom display method of electronic chart, it is characterised in that include:
The control instruction of scaling electronic chart is generated to the zoom operations of display screen according to user;
In response to the control instruction, the focal position that the user indicates on the display screen is obtained;
Judge whether the focal position belongs to the first label range for showing mark;
When the focal position belongs to first label range, search in mark that target shows mark from described display;
Show that the positional information of mark is zoomed in and out to the electronic chart according to the target for finding.
2. method according to claim 1, it is characterised in that described to judge whether the focal position belongs to display mark
The first label range, including:
According to the corresponding focus in the focal position with first label range for showing mark with the presence or absence of friendship
Collection, judges whether the focal position belongs to first label range for showing mark.
3. method according to claim 1 and 2, it is characterised in that described search in mark that target shows from described display
Mark, including:
When the focal position belongs to first label range, judge that first label range is corresponding and show that mark is
It is no unique;
If the display for determining is labeled as one, show that mark shows mark as target using corresponding;
If the display for determining be labeled as it is multiple, according to mark importance degree from it is described show mark in search target show
Mark.
4. method according to claim 3, it is characterised in that described to look into from described display in mark according to mark importance degree
Target is looked for show mark, including:
According to the show levels and corresponding first weight information of the show levels for showing mark, corresponding first is set up
Mark importance degree, according to the location matches degree and the location matches degree corresponding for showing mark and the focal position
Two weight informations, set up corresponding second mark importance degree, according to the historic user behavior for showing mark and the history
Corresponding 3rd weight information of user behavior, sets up corresponding 3rd mark importance degree;
Summation operation is carried out to the described first mark importance degree, the second mark importance degree and the 3rd mark importance degree,
Obtain the mark importance degree for showing mark;
Ranking is carried out to the display mark according to mark importance degree clooating sequence from high to low, by the aobvious of top ranked
Indicating is denoted as being shown for target and marks.
5. method according to claim 1, it is characterised in that also include:
When the focal position is not belonging to first label range, judges whether the focal position belongs to and do not show mark
The second label range;
When the focal position belongs to second label range, search in mark that target does not show mark from described display
Note, and do not show that the positional information of mark is zoomed in and out to the electronic chart according to the target for finding;
When the focal position is not belonging to second label range, according in the corresponding focus in the focal position
Heart position zooms in and out to the electronic chart.
6. the Zoom display device of a kind of electronic chart, it is characterised in that include:
Operation module, for according to user the zoom operations of display screen to be generated with the control instruction of scaling electronic chart;
Acquisition module, in response to the control instruction, obtaining the focal position that the user indicates on the display screen;
First judge module, for judging whether the focal position belongs to the first label range for showing mark;
Searching modul, for when the focal position belongs to first label range, from described display in mark mesh being searched
Mark shows mark;
First Zoom module, for showing that the positional information of mark is carried out to the electronic chart according to the target for finding
Scaling.
7. device according to claim 6, it is characterised in that first judge module, is additionally operable to according to the focus
The corresponding focus in position, with the presence or absence of occuring simultaneously, judges the focus position with first label range for showing mark
Put and whether belong to first label range for showing mark.
8. the device according to claim 6 or 7, it is characterised in that the searching modul includes:
Judging unit, for when the focal position belongs to first label range, judging first label range pair
The display answered marks whether uniquely;
First searching unit, during for being labeled as one in the display for determining, then shows mark as mesh using corresponding
Mark shows mark;
Second searching unit, during for being labeled as multiple in the display for determining, then shows according to mark importance degree from described
Target is searched in indicating note show mark.
9. device according to claim 8, it is characterised in that second searching unit includes:
Subelement is set up, for according to the corresponding first weight letter of the show levels and the show levels for showing mark
Breath, sets up corresponding first mark importance degree, according to mark and the location matches degree of the focal position and described of showing
Corresponding second weight information of location matches degree, sets up corresponding second mark importance degree, according to the history for showing mark
User behavior and corresponding 3rd weight information of the historic user behavior, set up corresponding 3rd mark importance degree;
Subelement is generated, for important to the described first mark importance degree, the second mark importance degree and the 3rd mark
Degree carries out summation operation, obtains the mark importance degree for showing mark;
Subelement is searched, the display mark is arranged for the clooating sequence according to the mark importance degree from high to low
Name, the display mark of top ranked is shown as target and is marked.
10. device according to claim 6, it is characterised in that also include:
Second judge module, for when the focal position is not belonging to first label range, judging the focal position
Whether second label range that do not show mark is belonged to;
Second Zoom module, for when the focal position belongs to second label range, not showing in mark from described
Search target and do not show mark, and do not show that the positional information of mark is entered to the electronic chart according to the target for finding
Row scaling;
3rd Zoom module, for when the focal position is not belonging to second label range, according to the focal position
The center of corresponding focus zooms in and out to the electronic chart.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611198107.7A CN106598437A (en) | 2016-12-22 | 2016-12-22 | Zoom display method and apparatus for electronic map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611198107.7A CN106598437A (en) | 2016-12-22 | 2016-12-22 | Zoom display method and apparatus for electronic map |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106598437A true CN106598437A (en) | 2017-04-26 |
Family
ID=58602741
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611198107.7A Pending CN106598437A (en) | 2016-12-22 | 2016-12-22 | Zoom display method and apparatus for electronic map |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106598437A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108710525A (en) * | 2018-05-18 | 2018-10-26 | 腾讯科技(深圳)有限公司 | Map methods of exhibiting, device, equipment and storage medium in virtual scene |
WO2018223724A1 (en) * | 2017-06-05 | 2018-12-13 | 上海蔚来汽车有限公司 | Resource distribution-based map zooming method and system, memory and control apparatus |
CN113986094A (en) * | 2021-10-29 | 2022-01-28 | 深圳市优必选科技股份有限公司 | Map marking method, device, terminal and storage medium |
CN114153350A (en) * | 2021-12-06 | 2022-03-08 | 北京金堤科技有限公司 | Map scaling method and device, storage medium and electronic equipment |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101794316A (en) * | 2010-03-30 | 2010-08-04 | 高翔 | Real-scene status consulting system and coordinate offset method based on GPS location and direction identification |
CN102568301A (en) * | 2011-12-27 | 2012-07-11 | 深圳市融创天下科技股份有限公司 | Method and device for display error correction of non-latitude/longitude map |
CN103150961A (en) * | 2011-12-01 | 2013-06-12 | 株式会社电装 | Map display manipulation apparatus |
CN103366389A (en) * | 2013-04-27 | 2013-10-23 | 中国人民解放军北京军区总医院 | CT (computed tomography) image reconstruction method |
CN103984492A (en) * | 2013-02-07 | 2014-08-13 | 高德软件有限公司 | Method and device for scaling display picture of mobile terminal and mobile terminal |
CN104011768A (en) * | 2011-10-31 | 2014-08-27 | Utc消防及保安公司 | Digital image magnification user interface |
US20140365934A1 (en) * | 2013-06-08 | 2014-12-11 | Apple Inc. | Mapping Application with Interactive Dynamic Scale and Smart Zoom |
CN104335012A (en) * | 2012-06-05 | 2015-02-04 | 苹果公司 | Voice instructions during navigation |
CN105786915A (en) * | 2014-12-25 | 2016-07-20 | 高德软件有限公司 | POI importance degree determination method and device |
CN205788149U (en) * | 2015-06-07 | 2016-12-07 | 苹果公司 | Electronic equipment and for showing the device of image |
-
2016
- 2016-12-22 CN CN201611198107.7A patent/CN106598437A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101794316A (en) * | 2010-03-30 | 2010-08-04 | 高翔 | Real-scene status consulting system and coordinate offset method based on GPS location and direction identification |
CN104011768A (en) * | 2011-10-31 | 2014-08-27 | Utc消防及保安公司 | Digital image magnification user interface |
CN103150961A (en) * | 2011-12-01 | 2013-06-12 | 株式会社电装 | Map display manipulation apparatus |
CN102568301A (en) * | 2011-12-27 | 2012-07-11 | 深圳市融创天下科技股份有限公司 | Method and device for display error correction of non-latitude/longitude map |
CN104335012A (en) * | 2012-06-05 | 2015-02-04 | 苹果公司 | Voice instructions during navigation |
CN103984492A (en) * | 2013-02-07 | 2014-08-13 | 高德软件有限公司 | Method and device for scaling display picture of mobile terminal and mobile terminal |
CN103366389A (en) * | 2013-04-27 | 2013-10-23 | 中国人民解放军北京军区总医院 | CT (computed tomography) image reconstruction method |
US20140365934A1 (en) * | 2013-06-08 | 2014-12-11 | Apple Inc. | Mapping Application with Interactive Dynamic Scale and Smart Zoom |
CN105786915A (en) * | 2014-12-25 | 2016-07-20 | 高德软件有限公司 | POI importance degree determination method and device |
CN205788149U (en) * | 2015-06-07 | 2016-12-07 | 苹果公司 | Electronic equipment and for showing the device of image |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018223724A1 (en) * | 2017-06-05 | 2018-12-13 | 上海蔚来汽车有限公司 | Resource distribution-based map zooming method and system, memory and control apparatus |
CN108710525A (en) * | 2018-05-18 | 2018-10-26 | 腾讯科技(深圳)有限公司 | Map methods of exhibiting, device, equipment and storage medium in virtual scene |
CN108710525B (en) * | 2018-05-18 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Map display method, device, equipment and storage medium in virtual scene |
CN113986094A (en) * | 2021-10-29 | 2022-01-28 | 深圳市优必选科技股份有限公司 | Map marking method, device, terminal and storage medium |
CN114153350A (en) * | 2021-12-06 | 2022-03-08 | 北京金堤科技有限公司 | Map scaling method and device, storage medium and electronic equipment |
CN114153350B (en) * | 2021-12-06 | 2023-09-29 | 北京金堤科技有限公司 | Map scaling method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6141393B2 (en) | Method and apparatus for determining a target position | |
CN102359791B (en) | 3D layering of map metadata | |
CN102194367B (en) | Information processing device, map update method, and information processing system | |
CN103563404B (en) | For collecting and the system and method that provide map image | |
US8265871B1 (en) | Mobile record information entry and geotagging | |
CN106598437A (en) | Zoom display method and apparatus for electronic map | |
US8326530B2 (en) | System and apparatus for processing information, image display apparatus, control method and computer program | |
CN106416318A (en) | Determining data associated with proximate computing devices | |
CN102687539A (en) | Directional animation for communications | |
CN102639961A (en) | Navigation system with map compression and method of operation thereof | |
US10460168B1 (en) | Interfaces for improving data accuracy in a positioning system database | |
CN110968798B (en) | House source display method and device, readable storage medium and processor | |
CN107656962A (en) | Panorama display methods, server and computer-readable medium in electronic map | |
CN112131499A (en) | Image annotation method and device, electronic equipment and storage medium | |
CN110399445A (en) | A kind of processing method of point of interest, device and equipment | |
Pearson et al. | BookMark: Appropriating existing infrastructure to facilitate scalable indoor navigation | |
WO2021093703A1 (en) | Interaction method and system based on optical communication apparatus | |
CN105466415B (en) | A kind of shop localization method and mobile terminal | |
CN110501007A (en) | A kind of paths planning method, device and terminal | |
Yasuoka et al. | The advancement of world digital cities | |
KR20200051295A (en) | Method and computer program for providing map including real estate sales information | |
CN104063901A (en) | Showing method and device for electronic map | |
JP6346537B2 (en) | Travel plan output system | |
KR20220163731A (en) | User equipment and control method for the same | |
CN112052572A (en) | Digital twin industrial simulation system based on WLAN (Wireless local area network) position perception |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170426 |