CN103606175A - Displaying method of map hotspot icon and controller - Google Patents
Displaying method of map hotspot icon and controller Download PDFInfo
- Publication number
- CN103606175A CN103606175A CN201310596714.9A CN201310596714A CN103606175A CN 103606175 A CN103606175 A CN 103606175A CN 201310596714 A CN201310596714 A CN 201310596714A CN 103606175 A CN103606175 A CN 103606175A
- Authority
- CN
- China
- Prior art keywords
- icon
- map
- hot point
- controller
- point icon
- 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.)
- Granted
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
- User Interface Of Digital Computer (AREA)
- Instructional Devices (AREA)
Abstract
An embodiment of the invention discloses a displaying method of a map hotspot icon and a controller. The displaying method comprises the steps that the controller receives an operation instruction, input by a user, of zooming out a map picture, and according to the operation instruction of zooming out the map picture, corresponding-scale zooming-out is conducted on the map picture and the map hotspot icon corresponding to the map picture; the controller is used for drawing a replacement vector icon according to the shape of the map hotpot icon which is zoomed out, and therefore the replacement vector icon and the map picture are displayed correspondingly. By means of the displaying method of the map hotspot icon and the controller, under the premise that the user is not influenced to watch the map picture, map displaying speed is increased, and time required by picture decoding is shortened.
Description
Technical field
The present invention relates to map picture display technique field, in particular a kind of display packing of map hot point icon and controller.
Background technology
GIS assembly is when carrying out map demonstration, except carrying out the demonstration of map picture, toward contact, need to carry out the demonstration of some focus layers, such as when showing all video point in In Guangzhou Area, generally first to show Guangzhou map, then the video point layer that shows Guangzhou on it, layer is several icons in GIS component internal.Can minimum and maximum ratio be set to focus layer, meaning is that focus layer only shows in this minimum and maximum proportional range.By such setting, when map picture surpasses certain ratio, whole focus layer has not shown, can reduce by this method the demonstration of data.
But adopt existing problem in this way, be, if minimum scale arranges excessive, there will be the map hot point icon of focus layer to dwindle situation about suddenly disappearing in process at map picture, namely go up one and constantly on map picture, still have some focus icons, after dwindling map picture, these focus icons have not shown; If minimum scale arranges too small, although the focus icon on map picture can not disappear, but due to map scale arrange excessive, so it is large that the body of a map or chart that whole GIS assembly shows becomes, therefore the hotspot graph target quantity showing on map picture tends to a lot, and the display efficiency of map picture is obviously reduced.
Summary of the invention
For improving map display efficiency, the embodiment of the present invention provides a kind of display packing and controller of map hot point icon.
A display packing for map hot point icon, wherein, comprising:
Controller receives the operational order that dwindles map picture of user's input, and carries out dwindling of corresponding ratio according to described operational order control map picture and the map hot point icon corresponding with described map picture that dwindles map picture;
Described controller is drawn and is substituted vector icon according to the shape of the described map hot point icon after dwindling, so that the demonstration corresponding to described map picture of described alternative vector icon.
The display packing of described map hot point icon, wherein, operational order control map picture and the map hot point icon corresponding with described map picture that described basis is dwindled map picture carry out also comprising after dwindling of corresponding ratio:
The display shape of the described map hot point icon after described controller identification is dwindled.
The display packing of described map hot point icon, wherein, described controller is drawn alternative vector icon according to the shape of the described map hot point icon after dwindling and is comprised:
If described controller identifies described map hot point icon, with square, show, described controller obtains the length of side of described map hot point icon;
Described controller judges whether the length of side of described map hot point icon is more than or equal to reservation threshold;
If so, described controller is drawn the alternative vector icon showing with square;
If not, described controller is drawn the alternative vector icon showing with side's point.
The display packing of described map hot point icon, wherein, described controller is drawn alternative vector icon according to the shape of the described map hot point icon after dwindling and is comprised:
If described controller identifies described map hot point icon, with rectangle, show, described controller obtains length and the width of described map hot point icon;
Described controller judges whether the length of described map hot point icon and width are more than or equal to reservation threshold;
If so, described controller is drawn the alternative vector icon showing with rectangle;
If not, described controller is drawn with the linear alternative vector icon showing.
The display packing of described map hot point icon, wherein, described controller is drawn alternative vector icon according to the shape of the described map hot point icon after dwindling and is comprised:
If described controller identifies described map hot point icon, with square, show, described controller obtains the area of described map hot point icon;
Described controller judges whether the area of described map hot point icon is more than or equal to reservation threshold;
If so, described controller is drawn the alternative vector icon showing with square;
If not, described controller is drawn the alternative vector icon showing with side's point.
The display packing of described map hot point icon, wherein, described controller is drawn alternative vector icon according to the shape of the described map hot point icon after dwindling and is comprised:
If described controller identifies described map hot point icon, with rectangle, show, described controller obtains the area of described map hot point icon;
Described controller judges whether the area of described map hot point icon is more than or equal to reservation threshold;
If so, described controller is drawn the alternative vector icon showing with rectangle;
If not, described controller is drawn with the linear alternative vector icon showing.
A controller, wherein, comprising:
Dwindle unit, for receiving the operational order that dwindles map picture of user's input, and carry out dwindling of corresponding ratio according to described operational order control map picture and the map hot point icon corresponding with described map picture that dwindles map picture;
Substitute vector icon drawing unit, for drawing and substitute vector icon according to the shape of the described map hot point icon after dwindling, so that the demonstration corresponding to described map picture of described alternative vector icon.
Described controller, wherein, described controller also comprises:
Recognition unit, for identifying the display shape of the described map hot point icon after dwindling.
Described controller, wherein, described alternative vector icon drawing unit specifically comprises:
The first acquisition module, shows with square if identify described map hot point icon for described recognition unit, obtains the length of side of described map hot point icon;
The first judge module, for judging whether the length of side of described map hot point icon is more than or equal to reservation threshold;
Square drafting module, for drawing the alternative vector icon showing with square;
Side's point-rendering module, for drawing the alternative vector icon showing with side's point.
Described controller, wherein, described alternative vector icon drawing unit specifically comprises:
The second acquisition module, shows with rectangle if identify described map hot point icon for described recognition unit, obtains length and the width of described map hot point icon;
The second judge module, for judging whether length and the width of described map hot point icon is more than or equal to reservation threshold;
Rectangle drafting module, for drawing the alternative vector icon showing with rectangle;
Linear drafting module, for drawing the alternative vector icon showing with linear.
As can be seen from the above technical solutions, the embodiment of the present invention controls map picture according to the operational order that dwindles map picture of user's input and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio, and draw and substitute vector icon according to the shape of this map hot point icon, so that the demonstration corresponding to this map picture of this alternative vector icon.Because substituting map hotspot graph mark by the alternative vector icon of drawing, the embodiment of the present invention shows, be that focus layer on map picture is not used image data to show, but replace with simple vector, thereby watch under the prerequisite of map picture effect not affecting user, improved the speed that map shows, reduced picture and decode the needed time.
Accompanying drawing explanation
Fig. 1 is an embodiment flow chart of steps of the display packing of the map hot point icon that provides of the embodiment of the present invention;
Fig. 2 is another embodiment flow chart of steps of the display packing of the map hot point icon that provides of the embodiment of the present invention;
Fig. 3 is another embodiment flow chart of steps of the display packing of the map hot point icon that provides of the embodiment of the present invention;
Fig. 4 is another embodiment flow chart of steps of the display packing of the map hot point icon that provides of the embodiment of the present invention;
Fig. 5 is another embodiment flow chart of steps of the display packing of the map hot point icon that provides of the embodiment of the present invention;
Fig. 6 is an example structure schematic diagram of the controller that provides of the embodiment of the present invention;
Fig. 7 is another example structure schematic diagram of the controller that provides of the embodiment of the present invention;
Fig. 8 is another example structure schematic diagram of the controller that provides of the embodiment of the present invention;
Fig. 9 is another example structure schematic diagram of the controller that provides of the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of display packing of map hot point icon, for promoting the display efficiency of map picture.
The display packing of the map hot point icon embodiment of the present invention being provided below in conjunction with Fig. 1 illustrates:
101, controller receives the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
Be that user is inputted or dwindled by mouse input the operational order of map picture by touch.
On this map picture, correspondence shows focus layer, shows several map hot point icons on this focus layer.
Controller, after receiving the operational order that dwindles map picture, is controlled this map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio.
102, this controller is drawn and is substituted vector icon according to the shape of this map hot point icon after dwindling, so that the demonstration corresponding to this map picture of this alternative vector icon.
This controller can be drawn and substitute vector icon according to the shape of this map hot point icon, so that the focus layer on controller no longer shows by map hot point icon, but shows by substituting vector icon.
Wherein, map hot point icon shows by image data, and substitute vector icon, by simple vector, shows.
And then make focus layer not use image data to show, but replace by simple vector, thereby improved the speed that map shows, effectively reduce image data and show needed decode time.
In the present embodiment, controller can carry out dwindling of corresponding ratio according to the operational order control map picture and the map hot point icon corresponding with this map picture that dwindle map picture of user's input, and draw and substitute vector icon according to the shape of this map hot point icon after dwindling, thereby making focus layer is not that map hot point icon with picture form shows, but the alternative vector icon showing with vector form shows, thereby improved the speed that map picture shows.
The embodiment of the present invention according to the map focus icon concrete shape difference and make to substitute vector icon and with difformity, show how according to the length of side of foursquare map hot point icon, to draw and to substitute vector icon below in conjunction with the embodiment explanation shown in Fig. 2:
201, controller receives the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
Step 201 in the present embodiment is identical with the process of step 101 shown in Fig. 1, does not repeat them here.
202, this controller is identified the display shape of this map hot point icon after dwindling;
Be after controller control map picture and map hot point icon dwindle, identify the concrete shape of this map hot point icon.
If 203 these controllers identify this map hot point icon, with square, show, this controller obtains the length of side of this map hot point icon;
This controller identifies this map hot point icon and shows with square, further obtains the length of side of this map hot point icon.
204, this controller judges whether the length of side of this map hot point icon is more than or equal to reservation threshold, if so, carry out step 205, if not, carry out step 206;
This reservation threshold can be shown according to the map region, the maximum ratio of set enlarged map picture and the factors such as minimum scale of dwindling map picture arrange.
205, this controller is drawn the alternative vector icon showing with square;
Because map hot point icon is foursquare, will substitute vector icon and be depicted as square and can, so that user, when consulting a map picture, has identical display effect, can not reduce user's experience.
206, this controller is drawn the alternative vector icon showing with side's point.
When the map hotspot graph target length of side is less than reservation threshold, for the alternative vector icon of avoiding showing on map picture too much affects the sharpness that map picture shows, draw the alternative vector icon showing with side's point, thereby do not affecting under the prerequisite of user's viewing effect, improved the speed that map shows, reduced picture and decode the needed time.
In the present embodiment, controller identifies foursquare map hot point icon, and draw square or the square alternative vector icon of putting shape according to this foursquare map hot point icon, thereby making is not affecting under the prerequisite of user's viewing effect, improved the speed that map shows, reduced map picture and decode the needed time.
How embodiment explanation shown in Fig. 2 is drawn and to be substituted vector icon according to the length of side of foursquare map hot point icon, below in conjunction with the embodiment shown in Fig. 3, illustrates how according to the map the drafting of hotspot graph target area substitutes vector icon:
301, controller receives the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
302, this controller is identified the display shape of this map hot point icon after dwindling;
Step 301 in the present embodiment is identical to step 202 process with step 201 shown in Fig. 2 to step 302, does not repeat them here.
If 303 these controllers identify this map hot point icon, with square, show, this controller obtains the area of this map hot point icon;
This controller identifies this map hot point icon and shows with square, further obtains the area of this map hot point icon.
304, this controller judges whether the area of this map hot point icon is more than or equal to reservation threshold, if so, carry out step 305, if not, carry out step 306;
This reservation threshold can be shown according to the map region, the maximum ratio of set enlarged map picture and the factors such as minimum scale of dwindling map picture arrange.
305, this controller is drawn the alternative vector icon showing with square;
Because map hot point icon is foursquare, will substitute vector icon and be depicted as square and can, so that user, when consulting a map picture, has identical display effect, can not reduce user's experience.
306, this controller is drawn the alternative vector icon showing with side's point.
When map hotspot graph target area is less than reservation threshold, for the alternative vector icon of avoiding showing on map picture too much affects the sharpness that map picture shows, draw the alternative vector icon showing with side's point, thereby do not affecting under the prerequisite of user's viewing effect, improved the speed that map shows, reduced picture and decode the needed time.
In the present embodiment, controller identifies foursquare map hot point icon, and draw square or the square alternative vector icon of putting shape according to this foursquare map hot point icon, thereby making is not affecting under the prerequisite of user's viewing effect, improved the speed that map picture shows, reduced map picture and decode the needed time.
If the explanation of the embodiment shown in Fig. 2 and Fig. 3 map hot point icon is square, how alternative vector icon shows, below in conjunction with the embodiment explanation shown in Fig. 4, how according to the length of the map hot point icon of rectangle and width drafting, to substitute vector icon:
401, controller receives the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
402, this controller is identified the display shape of this map hot point icon after dwindling;
Step 401 in the present embodiment is identical to step 302 process with step 301 shown in Fig. 3 to step 402, does not repeat them here.
If 403 these controllers identify this map hot point icon, with rectangle, show, this controller obtains length and the width of this map hot point icon;
This controller identifies this map hot point icon and shows with square, further obtains length and the width of this map hot point icon.
404, this controller judges whether the length of this map hot point icon and width are more than or equal to reservation threshold, if so, carry out steps 405, if not, carry out steps 406;
This reservation threshold can be shown according to the map region, the maximum ratio of set enlarged map picture and the factors such as minimum scale of dwindling map picture arrange.
The condition that controller judges is not only confined to aforesaid way, this controller also can judge whether the length of this map hot point icon or width are more than or equal to reservation threshold, as long as length or the width of map hot point icon have one to be more than or equal to reservation threshold, carry out step 405.
405, this controller is drawn the alternative vector icon showing with rectangle;
Because map hot point icon is rectangle, will substitute vector icon and be depicted as rectangle and can, so that user, when consulting a map picture, has identical display effect, can not reduce user's experience.
406, this controller is drawn with the linear alternative vector icon showing.
When map hotspot graph target length and width are less than reservation threshold, for the alternative vector icon of avoiding showing on map picture too much affects the sharpness that map picture shows, draw the alternative vector icon showing with linear, thereby do not affecting under the prerequisite of user's viewing effect, improved the speed that map shows, reduced picture and decode the needed time.
In the present embodiment, controller identifies the map hot point icon of rectangle, and draw rectangle or linear alternative vector icon according to the map hot point icon of this rectangle, thereby make to watch under the prerequisite of map picture effect not affecting user, improved the speed that map picture shows, reduced map picture and decode the needed time.
How embodiment explanation shown in Fig. 4 draws alternative vector icon according to the length of the map hot point icon of rectangle and width, below in conjunction with the embodiment shown in Fig. 5, illustrates how according to the map the drafting of hotspot graph target area substitutes vector icon:
501, controller receives the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
502, this controller is identified the display shape of this map hot point icon after dwindling;
Step 501 in the present embodiment is identical to step 402 process with step 401 shown in Fig. 4 to step 502, does not repeat them here.
If 503 these controllers identify this map hot point icon, with rectangle, show, this controller obtains the area of this map hot point icon;
This controller identifies this map hot point icon and shows with rectangle, further obtains the area of this map hot point icon.
504, this controller judges whether the area of this map hot point icon is more than or equal to reservation threshold, if so, carry out step 505, if not, carry out step 506;
This reservation threshold can be shown according to the map region, the maximum ratio of set enlarged map picture and the factors such as minimum scale of dwindling map picture arrange.
505, this controller is drawn the alternative vector icon showing with rectangle;
Because map hot point icon is rectangle, will substitute vector icon and be depicted as rectangle and can, so that user, when consulting a map picture, has identical display effect, can not reduce user's experience.
506, this controller is drawn with the linear alternative vector icon showing.
When map hotspot graph target area is less than reservation threshold, for the alternative vector icon of avoiding showing on map picture too much affects the sharpness that map picture shows, draw the alternative vector icon showing with linear, thereby do not affecting under the prerequisite of user's viewing effect, improved the speed that map shows, reduced picture and decode the needed time.
In the present embodiment, controller identifies the map hot point icon of rectangle, and draw rectangle or linear alternative vector icon according to the map hot point icon of this rectangle, thereby making is not affecting under the prerequisite of user's viewing effect, improved the speed that map shows, reduced picture and decode the needed time.
The display packing of a kind of map hot point icon that embodiment provides for a better understanding of the present invention, below lift concrete application scenarios the embodiment of the present invention is described in further details:
When terminal display screen shows after the map picture in Guangzhou, user can dwindle by touch or mouse input the operational order of map picture;
Be that the ratio that map picture shows on terminal display screen is S1=1:400, when controller receives after the operational order that dwindles map picture of user's input, the ratio that map picture shows in terminal is S2=1:500;
In Guangzhou City, be provided with camera, the particular location of this camera indicates by the map hot point icon on map picture;
User, by grasping the particular location of map hot point icon on map picture, can grasp the particular location of camera on this map picture;
Controller shows that according to the proportional control of this S2=1:500 the map picture in Guangzhou and the map hot point icon corresponding with this map picture carry out dwindling of corresponding ratio;
The display shape of this map hot point icon after this controller identification is dwindled;
This controller identifies the wide picW of this map hot point icon and the high picH of this map hot point icon;
If the high picH of this map hot point icon of wide picW=of this map hot point icon, illustrates that this map hot point icon is for square;
The height of the wide map hot point icon for picW/ (S2/S1)=after dwindling that makes map hot point icon after dwindling is picH/ (S2/S1);
The reservation threshold that controller sets in advance is 4 pixels;
If the wide and height of the map hot point icon after dwindling is more than or equal to 4 pixels, controller is drawn the alternative vector icon showing with square, when making the map picture of terminal after demonstration is dwindled, show the foursquare alternative vector icon corresponding with it;
If the Kuan He higher primary school of the map hot point icon after dwindling is in 4 pixels, controller is drawn the alternative vector icon showing with side's point, when making the map picture of terminal after demonstration is dwindled, shows the alternative vector icon of the side point shape corresponding with it.
The display packing of a kind of map hot point the icon above embodiment of the present invention being provided has been described in detail, below in conjunction with a kind of controller that illustrates shown in Fig. 6 that the embodiment of the present invention provides:
This controller specifically comprises:
Dwindle unit 601, for receiving the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
Substitute vector icon drawing unit 602, for drawing and substitute vector icon according to the shape of this map hot point icon after dwindling, so that the demonstration corresponding to this map picture of this alternative vector icon.
In the present embodiment, dwindle unit 601 and can carry out dwindling of corresponding ratio according to the operational order control map picture and the map hot point icon corresponding with this map picture that dwindle map picture of user's input, substituting vector icon drawing unit 602 draws and substitutes vector icon according to the shape of this map hot point icon after dwindling, thereby making focus layer is not that map hot point icon with picture form shows, but the alternative vector icon showing with vector form, thereby improved the speed that map picture shows.
Above embodiment describes the concrete structure of controller, can realize the concrete structure of the controller of identification map hot point icon display shape below in conjunction with the embodiment explanation shown in Fig. 7:
This controller specifically comprises:
Dwindle unit 701, for receiving the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
Recognition unit 702, for identifying the display shape of this map hot point icon after dwindling;
Substitute vector icon drawing unit 703, for drawing and substitute vector icon according to the shape of this map hot point icon after dwindling, so that the demonstration corresponding to this map picture of this alternative vector icon.
In the present embodiment, recognition unit 702 identifies the display shape of map hot point icon, substituting vector icon drawing unit 703 draws and substitutes vector icon according to the shape of this map hot point icon, thereby making is not affecting under the prerequisite of user's viewing effect, improved the speed that map picture shows, reduced map picture and decode the needed time.
Embodiment explanation shown in Fig. 7 can realize the concrete structure of the controller of identification map hot point icon display shape, and the concrete structure of the controller of the alternative vector icon that can draw out square or side's point shape is described below in conjunction with the embodiment shown in Fig. 8:
This controller specifically comprises:
Dwindle unit 801, for receiving the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
Substitute vector icon drawing unit 803, for drawing and substitute vector icon according to the shape of this map hot point icon after dwindling, so that the demonstration corresponding to this map picture of this alternative vector icon;
Wherein this alternative vector icon drawing unit 803 specifically comprises:
The first acquisition module 8031, shows with square if identify this map hot point icon for this recognition unit 802, obtains the length of side of this map hot point icon;
The first judge module 8032, for judging whether the length of side of this map hot point icon is more than or equal to reservation threshold;
Side's point-rendering module 8034, for drawing the alternative vector icon showing with side's point.
In the present embodiment, if it is square that recognition unit 802 identifies the display shape of map hot point icon, the first acquisition module 8031 obtains the length of side of this map hot point icon, the first judge module 8032 judges whether the length of side of this map hot point icon is more than or equal to reservation threshold, if, square drafting module 8033 is drawn the alternative vector icon showing with square, and if not, square point-rendering module 8034 is drawn the alternative vector icon showing with side's point.Thereby making is not affecting under the prerequisite of user's viewing effect, improved the speed that map picture shows, reduce map picture and decode the needed time.
Embodiment shown in Fig. 8 explanation can be drawn out the concrete structure of controller of the alternative vector icon of square or side's point shape, can draw out the concrete structure of the controller of rectangle or linear alternative vector icon below in conjunction with the embodiment explanation shown in Fig. 9:
Dwindle unit 901, for receiving the operational order that dwindles map picture of user's input, and the operational order that dwindles map picture according to this controls map picture and the map hot point icon corresponding with this map picture carries out dwindling of corresponding ratio;
Substitute vector icon drawing unit 903, for drawing and substitute vector icon according to the shape of this map hot point icon after dwindling, so that the demonstration corresponding to this map picture of this alternative vector icon;
Wherein this alternative vector icon drawing unit 903 specifically comprises:
The second acquisition module 9031, shows with rectangle if identify this map hot point icon for this recognition unit 902, obtains length and the width of this map hot point icon;
The second judge module 9032, for judging whether length and the width of this map hot point icon is more than or equal to reservation threshold;
In the present embodiment, if it is rectangle that recognition unit 902 identifies the display shape of map hot point icon, the second acquisition module 9031 obtains length and the width of this map hot point icon, the second judge module 9032 judges whether the length of this map hot point icon and width are more than or equal to reservation threshold, if, rectangle drafting module 9033 is drawn the alternative vector icon showing with rectangle, and if not, linear drafting module 9034 is drawn with the linear alternative vector icon showing.Thereby making is not affecting under the prerequisite of user's viewing effect, improved the speed that map picture shows, reduce map picture and decode the needed time.
A kind of controller that embodiment provides for a better understanding of the present invention, below lift concrete application scenarios the embodiment of the present invention is described in further details:
When terminal display screen shows after the map picture in Guangzhou, user can dwindle by touch or mouse input the operational order of map picture;
The unit 801 that dwindles of controller receives this operational order;
Be that the ratio that map picture shows on terminal display screen is S1=1:400, when dwindling unit 801, receive after the operational order that dwindles map picture of user's input, the ratio that map picture shows in terminal is S2=1:500;
In Guangzhou City, be provided with camera, the particular location of this camera indicates by the map hot point icon on map picture;
User, by grasping the particular location of map hot point icon on map picture, can grasp the particular location of camera on this map picture;
Dwindle unit 801 and show that according to the proportional control of this S2=1:500 the map picture in Guangzhou and the map hot point icon corresponding with this map picture carry out dwindling of corresponding ratio;
The display shape of this map hot point icon after recognition unit 802 identifications are dwindled;
The first acquisition module 8031 identifies the wide picW of this map hot point icon and the high picH of this map hot point icon;
If the high picH of this map hot point icon of wide picW=of this map hot point icon, illustrates that this map hot point icon is for square;
The height of the wide map hot point icon for picW/ (S2/S1)=after dwindling that makes map hot point icon after dwindling is picH/ (S2/S1);
The reservation threshold setting in advance is 4 pixels;
The length of side of first judge module 8032 these map hot point icons of judgement, whether picW/ (S2/S1) is more than or equal to reservation threshold;
If the length of side of the map hot point icon after dwindling is more than or equal to 4 pixels, square drafting module 8033 is drawn the alternative vector icon showing with square, when making the map picture of terminal after demonstration is dwindled, show the foursquare alternative vector icon corresponding with it;
If the length of side of the map hot point icon after dwindling is less than 4 pixels, the alternative vector icon that square point-rendering module 8034 systems show with side's point, when making the map picture of terminal after demonstration is dwindled, show the alternative vector icon of the side point corresponding with it.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of this unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
This unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining this integrated unit realizes and during as production marketing independently or use, can be stored in a cognitron read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this cognitron software product is stored in a storage medium, comprise that some instructions are with so that a cognitron equipment (can be individual cognitron, server, or the network equipment etc.) carry out all or part of step of each embodiment the method for the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
Above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a display packing for map hot point icon, is characterized in that, comprising:
Controller receives the operational order that dwindles map picture of user's input, and carries out dwindling of corresponding ratio according to described operational order control map picture and the map hot point icon corresponding with described map picture that dwindles map picture;
Described controller is drawn and is substituted vector icon according to the shape of the described map hot point icon after dwindling, so that the demonstration corresponding to described map picture of described alternative vector icon.
2. the display packing of map hot point icon according to claim 1, it is characterized in that, operational order control map picture and the map hot point icon corresponding with described map picture that described basis is dwindled map picture carry out also comprising after dwindling of corresponding ratio:
The display shape of the described map hot point icon after described controller identification is dwindled.
3. the display packing of map hot point icon according to claim 2, is characterized in that, described controller is drawn alternative vector icon according to the shape of the described map hot point icon after dwindling and comprised:
If described controller identifies described map hot point icon, with square, show, described controller obtains the length of side of described map hot point icon;
Described controller judges whether the length of side of described map hot point icon is more than or equal to reservation threshold;
If so, described controller is drawn the alternative vector icon showing with square;
If not, described controller is drawn the alternative vector icon showing with side's point.
4. the display packing of map hot point icon according to claim 2, is characterized in that, described controller is drawn alternative vector icon according to the shape of the described map hot point icon after dwindling and comprised:
If described controller identifies described map hot point icon, with rectangle, show, described controller obtains length and the width of described map hot point icon;
Described controller judges whether the length of described map hot point icon and width are more than or equal to reservation threshold;
If so, described controller is drawn the alternative vector icon showing with rectangle;
If not, described controller is drawn with the linear alternative vector icon showing.
5. the display packing of map hot point icon according to claim 2, is characterized in that, described controller is drawn alternative vector icon according to the shape of the described map hot point icon after dwindling and comprised:
If described controller identifies described map hot point icon, with square, show, described controller obtains the area of described map hot point icon;
Described controller judges whether the area of described map hot point icon is more than or equal to reservation threshold;
If so, described controller is drawn the alternative vector icon showing with square;
If not, described controller is drawn the alternative vector icon showing with side's point.
6. the display packing of map hot point icon according to claim 2, is characterized in that, described controller is drawn alternative vector icon according to the shape of the described map hot point icon after dwindling and comprised:
If described controller identifies described map hot point icon, with rectangle, show, described controller obtains the area of described map hot point icon;
Described controller judges whether the area of described map hot point icon is more than or equal to reservation threshold;
If so, described controller is drawn the alternative vector icon showing with rectangle;
If not, described controller is drawn with the linear alternative vector icon showing.
7. a controller, is characterized in that, comprising:
Dwindle unit, for receiving the operational order that dwindles map picture of user's input, and carry out dwindling of corresponding ratio according to described operational order control map picture and the map hot point icon corresponding with described map picture that dwindles map picture;
Substitute vector icon drawing unit, for drawing and substitute vector icon according to the shape of the described map hot point icon after dwindling, so that the demonstration corresponding to described map picture of described alternative vector icon.
8. controller according to claim 7, is characterized in that, described controller also comprises:
Recognition unit, for identifying the display shape of the described map hot point icon after dwindling.
9. controller according to claim 8, is characterized in that, described alternative vector icon drawing unit specifically comprises:
The first acquisition module, shows with square if identify described map hot point icon for described recognition unit, obtains the length of side of described map hot point icon;
The first judge module, for judging whether the length of side of described map hot point icon is more than or equal to reservation threshold;
Square drafting module, for drawing the alternative vector icon showing with square;
Side's point-rendering module, for drawing the alternative vector icon showing with side's point.
10. controller according to claim 8, is characterized in that, described alternative vector icon drawing unit specifically comprises:
The second acquisition module, shows with rectangle if identify described map hot point icon for described recognition unit, obtains length and the width of described map hot point icon;
The second judge module, for judging whether length and the width of described map hot point icon is more than or equal to reservation threshold;
Rectangle drafting module, for drawing the alternative vector icon showing with rectangle;
Linear drafting module, for drawing the alternative vector icon showing with linear.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310596714.9A CN103606175B (en) | 2013-11-21 | 2013-11-21 | The display packing of a kind of map hotspot icon and controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310596714.9A CN103606175B (en) | 2013-11-21 | 2013-11-21 | The display packing of a kind of map hotspot icon and controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103606175A true CN103606175A (en) | 2014-02-26 |
CN103606175B CN103606175B (en) | 2016-09-28 |
Family
ID=50124395
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310596714.9A Active CN103606175B (en) | 2013-11-21 | 2013-11-21 | The display packing of a kind of map hotspot icon and controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103606175B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104881839A (en) * | 2015-04-24 | 2015-09-02 | 中国电子进出口总公司 | Hotspot map generation method based parallel acceleration |
CN106169168A (en) * | 2015-04-05 | 2016-11-30 | 通用电气公司 | Transport monitoring system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002311942A (en) * | 2001-04-19 | 2002-10-25 | Nec Eng Ltd | Device and method for reduction display of vector map |
CN101908060A (en) * | 2010-06-30 | 2010-12-08 | 王宝全 | Manufacturing method, display method and system of vector numerical map |
CN103067588A (en) * | 2012-12-27 | 2013-04-24 | 青岛英特沃克网络科技有限公司 | System and method with which real-time map is capable of being displayed and shared in mobile terminal |
CN103137009A (en) * | 2011-11-30 | 2013-06-05 | 上海博泰悦臻电子设备制造有限公司 | Display method and device for map and vehicle-mounted system |
-
2013
- 2013-11-21 CN CN201310596714.9A patent/CN103606175B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002311942A (en) * | 2001-04-19 | 2002-10-25 | Nec Eng Ltd | Device and method for reduction display of vector map |
CN101908060A (en) * | 2010-06-30 | 2010-12-08 | 王宝全 | Manufacturing method, display method and system of vector numerical map |
CN103137009A (en) * | 2011-11-30 | 2013-06-05 | 上海博泰悦臻电子设备制造有限公司 | Display method and device for map and vehicle-mounted system |
CN103067588A (en) * | 2012-12-27 | 2013-04-24 | 青岛英特沃克网络科技有限公司 | System and method with which real-time map is capable of being displayed and shared in mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106169168A (en) * | 2015-04-05 | 2016-11-30 | 通用电气公司 | Transport monitoring system and method |
CN104881839A (en) * | 2015-04-24 | 2015-09-02 | 中国电子进出口总公司 | Hotspot map generation method based parallel acceleration |
CN104881839B (en) * | 2015-04-24 | 2017-11-07 | 中国电子进出口总公司 | It is a kind of based on the focus drawing generating method accelerated parallel |
Also Published As
Publication number | Publication date |
---|---|
CN103606175B (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR20110071708A (en) | Method and apparatus for searching contents in touch screen device | |
CN103530052A (en) | Display method of interface content and user equipment | |
CN105094737A (en) | Multimedia information display method and device | |
US20160334946A1 (en) | Method for adjusting user interface and electronic device employing the same | |
CN106658139B (en) | Focus control method and device | |
CN104049880A (en) | Method and device for batch selection of multiple pictures | |
CN107797833A (en) | The interface display method of application program on smart machine | |
CN105144021A (en) | Content based dynamic control methods and systems for display brightness | |
CN104866206A (en) | Method for moving picture data, and mobile terminal | |
CN104462516A (en) | Information prompt method and mobile terminal | |
CN104298423A (en) | Method and device for displaying media file on terminal through page | |
CN104536670A (en) | Interactive method based on user interface and related device | |
CN103488376A (en) | Desktop assembly fusing, combining and splitting method and equipment | |
CN103777865A (en) | Method, device, processor and electronic device for displaying information | |
US20160154545A1 (en) | Electronic device and method for managing and displaying application icons | |
CN103543901A (en) | Method and device for generating menus | |
CN105578035A (en) | Image processing method and electronic device | |
CN103606175A (en) | Displaying method of map hotspot icon and controller | |
CN104951186A (en) | Information processing method and electronic equipment | |
CN103902294A (en) | Browser image display method and terminal | |
CN104200459A (en) | Information processing method and electronic device | |
CN103607629A (en) | Multimedia file playing method and electronic terminal | |
CN103631872A (en) | Method for playing multimedia files and electronic terminal | |
CN103455474A (en) | Editing method and system of image materials | |
US20160342306A1 (en) | Electronic device and method for changing application icon |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Kezhu road high tech Industrial Development Zone, Guangzhou city of Guangdong Province, No. 233 510670 Patentee after: Wei Chong group Limited by Share Ltd Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No. Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd. |