CN103943026B - A kind of impact point automatic placement method based on pixel distance - Google Patents

A kind of impact point automatic placement method based on pixel distance Download PDF

Info

Publication number
CN103943026B
CN103943026B CN201410168262.9A CN201410168262A CN103943026B CN 103943026 B CN103943026 B CN 103943026B CN 201410168262 A CN201410168262 A CN 201410168262A CN 103943026 B CN103943026 B CN 103943026B
Authority
CN
China
Prior art keywords
impact point
pixel distance
map
automatic placement
method based
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.)
Expired - Fee Related
Application number
CN201410168262.9A
Other languages
Chinese (zh)
Other versions
CN103943026A (en
Inventor
马晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
IOMEETING Inc
Original Assignee
IOMEETING Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by IOMEETING Inc filed Critical IOMEETING Inc
Priority to CN201410168262.9A priority Critical patent/CN103943026B/en
Publication of CN103943026A publication Critical patent/CN103943026A/en
Application granted granted Critical
Publication of CN103943026B publication Critical patent/CN103943026B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Instructional Devices (AREA)
  • Navigation (AREA)

Abstract

The present invention relates to a kind of impact point automatic placement method based on pixel distance, comprising: mobile and precision draws current screen/window display map according to the map; According to the pixel distance between each impact point that described geographic position data calculates on current screen/window display map; If an impact point is only having self impact point centered by it, within the scope of the pixel distance of radius for setting thresholding, then showing on map a point being drawn and the title of this impact point of words identification in the position of an impact point at current screen/window; If an impact point is having multiple impact point centered by it, within the scope of the pixel distance of radius for setting thresholding, then showing on map a point being drawn and the title of all described multiple impact points of words identification in the position of an impact point at current screen/window.This arrangement method, makes that information is comprehensive, image is succinct and meets people's custom, thus bring better Consumer's Experience.

Description

A kind of impact point automatic placement method based on pixel distance
Technical field
The present invention relates to computer image processing technology, be specifically related to a kind of impact point automatic placement method based on pixel distance.
Background technology
Along with the development of mobile Internet, the demand that map develops software is also increasing, how information displaying as much as possible in limited screen, and user can be allowed to obtain the information wanted easily, be the very important direction of present map one of developing software.
Display general at present has how many people's method to be that display digital watch is shown with how many people in this region within the specific limits, but this method has following multiple shortcoming:
1. can not show very intuitively in this region has those people to exist.
2. show dumb when the accuracy of map zooms in or out time, can not automatically upgrade in polymerization have how many people.
3. can not be in the same localities and show the name of multiple people.
Even if 4. auto arrangement also can not calculate distance according to pixel, but the base area radius of a ball calculates the space length between 2, carries out a large amount of calculating.
5. the list of display is unclear, has the problems such as overlapping.
6. the unit of multiple auto arrangement can not be divided on same map.
Summary of the invention
The technical issues that need to address of the present invention are, how to provide a kind of impact point automatic placement method based on pixel distance, according to image size adjustment aim point display effect and information is comprehensive, image is succinct, thus can bring better experience to user.
Above-mentioned technical matters of the present invention solves like this: build a kind of impact point automatic placement method based on pixel distance, comprises the geographic position data obtaining impact point, it is characterized in that, further comprising the steps of:
Map making: mobile and precision draws current screen/window display map according to the map;
Calculate pixel distance: according to the pixel distance between each impact point that described geographic position data calculates on current screen/window display map;
Draw impact point: if an impact point is only having self impact point centered by it, within the scope of the pixel distance of radius for setting thresholding, then show on map a point being drawn and the title of this impact point of words identification in the position of an impact point at current screen/window; If an impact point is having multiple impact point centered by it, within the scope of the pixel distance of radius for setting thresholding, then showing on map a point being drawn and the title of all described multiple impact points of words identification in the position of an impact point at current screen/window.
According to the impact point automatic placement method based on pixel distance provided by the invention, described calculating pixel distance comprises according to described geographic position data computer memory distance, again according to the pixel distance that space length calculates on current screen/window display map between each impact point, or directly according to the pixel distance that the space length of buffer memory calculates on current screen/window display map between each impact point.
According to the impact point automatic placement method based on pixel distance provided by the invention, described geographic position data includes, but are not limited to be GPS longitude and latitude data or Beidou satellite navigation system longitude and latitude data.
According to the impact point automatic placement method based on pixel distance provided by the invention, when the method is included in and zooms in or out map, repaint map, calculate pixel distance and draw impact point.
According to the impact point automatic placement method based on pixel distance provided by the invention, when drawing impact point, each impact point at most only occurs once.
According to the impact point automatic placement method based on pixel distance provided by the invention, described impact point includes, but are not limited to be one or more in people, dining room or refuelling station.
According to the impact point automatic placement method based on pixel distance provided by the invention, the title of all described multiple impact points of words identification be from top to bottom, line by line list show each title.
According to the impact point automatic placement method based on pixel distance provided by the invention, the height in described list between title is 16-20 pixel, and list widths is 120-150 pixel.
According to the impact point automatic placement method based on pixel distance provided by the invention, described setting thresholding is 18-22 pixel, preferably 20 pixels.
According to the impact point automatic placement method based on pixel distance provided by the invention, the method realizes based on HTML and JAVASCRIP.
Impact point automatic placement method based on pixel distance provided by the invention, separate by precision or merge impact point, compared with prior art having the following advantages:
1. be widely used in Android system, IOS system and WINDOWS system, computer or mobile phone;
2. support various browser;
3. impact point meets people's custom, automatically merge/separately.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail further.
Fig. 1 is the computer process schematic diagram of the inventive method specific implementation;
Fig. 2 is the concrete interface one corresponding with flow process shown in Fig. 1;
Fig. 3 is the concrete interface two corresponding with flow process shown in Fig. 1.
Embodiment
As shown in Figure 1, in the preferred embodiment of the present invention, specifically comprise following computer software process step:
101) first the position of each point is shown on map according to the longitude of GPS and latitude data;
102) when the accuracy of map zooms in or out time, GPS location precision according to the map should change display position automatically;
103) calculate the distance between mutual 2 on map, calculate the space length between 2 according to GPS position information, calculate the precision size apart from the rear map according to current display, calculate the pixel distance shown on interface between 2.
104) after obtaining the pixel distance between 2, judge 2 dot spacings from value, if be greater than the value of setting, think that location comparison is apart far away, can not think in the scope of a Vertex cover.
105) if the distance between obtain 2 is less than the value of setting, think in the coverage of same point, now think that they are in same point range.
Whether 106) when the accuracy of map is exaggerated or after reducing, recalculate pixel distance between points, with equally rejudging above in the coverage of same point.
107) when one of them some position changes, do the calculating of this point and other some distances equally, judge whether in same point coverage, just can delete from list if do not have this to put, if in this point, just add this point in list.
Secondly, the key in above-mentioned steps is:
1. the preferred embodiment of the present invention is in map showing many people position, can be converted into actual range auto arrangement name according to the pixel distance of display.
2. the preferred embodiment of the present invention also comprises the auto arrangement name page HTML and JavaScript code that load in a browser.
3. the preferred embodiment of the present invention also comprises the auto arrangement name page HTML and JavaScript code that to load in the later system equipment of Android2.2 version and load in html page program.
4. the preferred embodiment of the present invention also comprises the auto arrangement name page HTML and JavaScript code that to load in iOS system equipment and load in html page program.
5. the preferred embodiment of the present invention also comprises the auto arrangement name page HTML and JavaScript code that to load in Windows (comprising windowsXP, windowsvisita, windows7, windows8) system equipment and load in html page program.
6. the preferred embodiment of the present invention also comprises the auto arrangement name page HTML and JavaScript code that to load in MacOS system equipment and load in html page program.
7. the preferred embodiment of the present invention uses javascript and the css language compilation of standard, the browser of all platforms can be supported, can at Android, iOS, Windows, MacOS, the browser browser that linux system runs runs, and browser comprises IE6+, MazillaFireFox, Chome, Safari etc.
8. the preferred embodiment of the present invention also comprises when the accuracy of map reduces, and is presented at people adjacent on map after distance is less than certain pixel distance on screen, many people can be presented at the same place on map, show everyone name in the form of a list.
9. the preferred embodiment of the present invention also comprises when the accuracy of map is amplified, be presented at people adjacent on map after distance is greater than certain pixel distance on screen, can scatter being presented at multiple people in same place on map, from list, remove the name of people, be presented on map with the form of an independent point.
10. the preferred embodiment of the present invention also comprises the height that in people's list of file names, everyone name is mutual is 20 pixels, and list widths is 150 pixels, and font is the refined dark red font of Microsoft.
Time 11. preferred embodiment of the present invention also comprise that precision zooms in or out according to the map, automatically add or delete name in list.
Again, the preferred embodiment of the present invention is implemented at the map page of the fast travelling purse mobile phone of match, when user zooms in or out map interface time, people's list of file names can revise the distance change of more each point automatically, reduce map as shown in Figure 2, as shown in Figure 3, in Fig. 2,2 people are merged into some display to enlarged map, and Fig. 3 is separately display then.
Finally, understand in scope those of ordinary skill in the art, within the scope of the claims in the present invention, various change all belongs to protection scope of the present invention.

Claims (10)

1., based on an impact point automatic placement method for pixel distance, comprise the geographic position data obtaining impact point, it is characterized in that, further comprising the steps of:
Map making: the mobile and accuracy of map draws current screen/window display map according to the map;
Calculate pixel distance: according to the pixel distance between each impact point that described geographic position data calculates on current screen/window display map;
Draw impact point: if an impact point is only having self impact point centered by it, within the scope of the pixel distance of radius for setting thresholding, then show on map a point being drawn and the title of this impact point of words identification in the position of an impact point at current screen/window; If an impact point is having multiple impact point centered by it, within the scope of the pixel distance of radius for setting thresholding, then showing on map a point being drawn and the title of all described multiple impact points of words identification in the position of an impact point at current screen/window.
2. the impact point automatic placement method based on pixel distance according to claim 1, it is characterized in that, described calculating pixel distance comprises according to described geographic position data computer memory distance, again according to the pixel distance that space length calculates on current screen/window display map between each impact point, or directly according to the pixel distance that the space length of buffer memory calculates on current screen/window display map between each impact point.
3. the impact point automatic placement method based on pixel distance according to claim 2, is characterized in that, described geographic position data is GPS longitude and latitude data or Beidou satellite navigation system longitude and latitude data.
4. the impact point automatic placement method based on pixel distance according to claim 1, is characterized in that, when the method is included in and zooms in or out map, repaints map, calculates pixel distance and draw impact point.
5. the impact point automatic placement method based on pixel distance according to claim 1, is characterized in that, when drawing impact point, each impact point at most only occurs once.
6. the impact point automatic placement method based on pixel distance according to claim 1, is characterized in that, described impact point comprise in people, dining room or refuelling station one or more.
7. the impact point automatic placement method based on pixel distance according to claim 1, is characterized in that, the title of all described multiple impact points of words identification be from top to bottom, line by line list show each title.
8. the impact point automatic placement method based on pixel distance according to claim 7, it is characterized in that, the height in described list between title is 16-20 pixel, and list widths is 120-150 pixel.
9. the impact point automatic placement method based on pixel distance according to claim 1, it is characterized in that, described setting thresholding is 18-22 pixel.
10. the impact point automatic placement method based on pixel distance according to any one of claim 1-9, it is characterized in that, the method realizes based on HTML and JAVASCRIP.
CN201410168262.9A 2014-04-24 2014-04-24 A kind of impact point automatic placement method based on pixel distance Expired - Fee Related CN103943026B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410168262.9A CN103943026B (en) 2014-04-24 2014-04-24 A kind of impact point automatic placement method based on pixel distance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410168262.9A CN103943026B (en) 2014-04-24 2014-04-24 A kind of impact point automatic placement method based on pixel distance

Publications (2)

Publication Number Publication Date
CN103943026A CN103943026A (en) 2014-07-23
CN103943026B true CN103943026B (en) 2016-02-24

Family

ID=51190669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410168262.9A Expired - Fee Related CN103943026B (en) 2014-04-24 2014-04-24 A kind of impact point automatic placement method based on pixel distance

Country Status (1)

Country Link
CN (1) CN103943026B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582749A (en) * 2018-10-17 2019-04-05 深圳壹账通智能科技有限公司 Multiple spot display methods, device and storage medium, computer equipment in map
CN112445989A (en) * 2020-11-23 2021-03-05 北京思特奇信息技术股份有限公司 WebGIS (Web geographic information System) -based map text label avoidance display method and device
CN117032852A (en) * 2023-06-30 2023-11-10 深圳云天励飞技术股份有限公司 Road disease data display method and device, electronic equipment and storage medium

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6563509B1 (en) * 2000-02-25 2003-05-13 Adobe Systems Incorporated Seeding map having intermediate seed values
JP4663136B2 (en) * 2001-01-29 2011-03-30 パナソニック株式会社 Method and apparatus for transmitting location information of digital map
JP3773902B2 (en) * 2003-01-08 2006-05-10 パイオニア株式会社 Navigation device, navigation map data acquisition method, navigation map data acquisition program, and recording medium recording the same
US6906643B2 (en) * 2003-04-30 2005-06-14 Hewlett-Packard Development Company, L.P. Systems and methods of viewing, modifying, and interacting with “path-enhanced” multimedia
CN101014831B (en) * 2004-03-23 2013-08-21 咕果公司 A digital mapping system
FR2869106B1 (en) * 2004-04-20 2006-06-23 Thales Sa AIRCRAFT DISTANCE ESTIMATING METHOD WITH ACCOUNTANCE OF AIR NAVIGATION CONSTRAINTS
WO2005121706A1 (en) * 2004-06-11 2005-12-22 Matsushita Electric Industrial Co., Ltd. Map display device and map display method
US20070130153A1 (en) * 2005-12-02 2007-06-07 Palm, Inc. Techniques to communicate and process location information from communications networks on a mobile computing device
US7450003B2 (en) * 2006-02-24 2008-11-11 Yahoo! Inc. User-defined private maps
CN101166327B (en) * 2006-03-31 2011-12-14 捷讯研究有限公司 Methods and apparatus for dynamically labeling map objects in visually displayed maps
JP2011521280A (en) * 2008-05-02 2011-07-21 トムトム インターナショナル ベスローテン フエンノートシャップ Navigation device and navigation method for enhancing map route
AU2009338855A1 (en) * 2009-01-30 2011-08-18 Telefonaktiebolaget L M Ericsson (Publ) Presentation of a digital map
DE112009005327T5 (en) * 2009-10-27 2012-11-22 Mitsubishi Electric Corporation Map drawing device
CN102230968B (en) * 2011-04-01 2013-05-08 搜船(北京)网络技术有限公司 System and method for updating and displaying dynamic object mark position in real time
WO2012172870A1 (en) * 2011-06-14 2012-12-20 日産自動車株式会社 Distance measurement device and environment map generation apparatus
US9401100B2 (en) * 2011-08-17 2016-07-26 Adtile Technologies, Inc. Selective map marker aggregation
CN102929956B (en) * 2012-10-09 2016-11-16 广东欧珀移动通信有限公司 A kind of image display method and device

Also Published As

Publication number Publication date
CN103943026A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
US10677596B2 (en) Image processing device, image processing method, and program
US9881590B2 (en) Method and apparatus for multi-resolution point of interest boundary identification in digital map rendering
US8290706B2 (en) Map data display control apparatus, map data display control method, and program for the same
US20160019704A1 (en) Method and apparatus for displaying point of interest
CN104580499A (en) Method and device for accurately labeling positions
US9482548B2 (en) Route inspection portals
CN107656961B (en) Information display method and device
US20200182646A1 (en) Systems and methods for displaying map information
US20180151065A1 (en) Traffic Information Update Method and Apparatus
CN103943026B (en) A kind of impact point automatic placement method based on pixel distance
KR101557836B1 (en) Method for controlling navigation device using short-range wireless communication
CN104240273B (en) The processing method and processing device of grille picture
US20140288827A1 (en) Guiding server, guiding method and recording medium recording guiding program
KR101839066B1 (en) Street view translation supplying apparatus and method for mobile
CN115546345A (en) Gantt chart drawing method, apparatus, device, storage medium and program product
JP2015053002A (en) Information presentation program and mobile communication terminal utilizing the same
CN110807164B (en) Automatic image area adjusting method and device, electronic equipment and computer readable storage medium
JP6174939B2 (en) Map note processing device, map note processing method, and map information providing device
JP2022033773A (en) Display device and control program
KR101525886B1 (en) Method of servicing map based on augmented reality and apparatus for the same
JP5906135B2 (en) Map image generating apparatus and program
US20150080026A1 (en) Common platform for personalized/branded applications
KR20230118523A (en) Method and application for indoor navigation using on place names
CN114666772A (en) Vehicle positioning method and device and server
CN105096220A (en) Method for providing tourism interpretation through intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160224

Termination date: 20170424

CF01 Termination of patent right due to non-payment of annual fee