WO2012155744A1 - 一种将检索结果显示在地图上的方法和装置 - Google Patents

一种将检索结果显示在地图上的方法和装置 Download PDF

Info

Publication number
WO2012155744A1
WO2012155744A1 PCT/CN2012/074178 CN2012074178W WO2012155744A1 WO 2012155744 A1 WO2012155744 A1 WO 2012155744A1 CN 2012074178 W CN2012074178 W CN 2012074178W WO 2012155744 A1 WO2012155744 A1 WO 2012155744A1
Authority
WO
WIPO (PCT)
Prior art keywords
map
data
display
item
page
Prior art date
Application number
PCT/CN2012/074178
Other languages
English (en)
French (fr)
Inventor
胡龙科
Original Assignee
北京百度网讯科技有限公司
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 北京百度网讯科技有限公司 filed Critical 北京百度网讯科技有限公司
Publication of WO2012155744A1 publication Critical patent/WO2012155744A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Definitions

  • the present invention relates to the field of search engines, and more particularly to a method and apparatus for displaying search results on a map.
  • FIG. 1 is a schematic diagram of a search result and a map displayed on a page in the prior art.
  • the search results will be marked on the map, and when the mouse moves to a specific search result, the search result will be highlighted on the map, but in the prior art, the map on the page It is static.
  • the mouse moves from a specific search result to another specific search result, only the highlighted point changes, and the map itself does not move or change.
  • FIG. 2 FIG.
  • FIG. 2 is a schematic diagram showing the comparison effect of the map when the mouse moves to different retrieval results in the prior art.
  • the highlighted point is the point labeled 2
  • the highlighted point is the point labeled 3
  • the map cannot be moved with the mouse pointing on the search result, thereby reducing the display area of the map, so if the user needs to know the geographical situation near the highlighted point, the highlighted The point is just at the edge of the map, and the user has to drag and drop the map. It can be seen that the effect of this static display is not friendly enough for the user.
  • the technical problem to be solved by the present invention is to provide a method and apparatus for displaying a search result on a map, so as to solve the problem that the map cannot be moved with the pointing of the mouse on the search result in the display method of the prior art, thereby reducing the map. Demonstrate defects in the area.
  • the technical solution adopted by the present invention to solve the technical problem is to provide a method for displaying a search result on a map, comprising: A. Detecting a state of the mouse on the page; B. transmitting data represented by the search result list item on the page to the map of the page according to the state; C. determining a display center and a display ratio of the map according to the data ;D. A location corresponding to the data is displayed on the map at the display center and the display scale.
  • the state comprises a mouse movement into the search result list item.
  • step B when the mouse moves into the search result list item, the data represented by the search result list item is transmitted to the map of the page.
  • the search result list item is an aggregate item or a non-aggregate item.
  • the state further comprises a mouse moving out of the aggregated item.
  • step B when the mouse moves out of the aggregation item and does not move into other retrieval result list items other than the aggregation item, the data represented by all non-aggregated items on the page is transmitted. Go to the map on the page.
  • the state further comprises mouse movement into the aggregation node.
  • the data represented by the aggregation node is transmitted to the map of the page.
  • the step C specifically includes: determining the number of the data, when the number of the data is one, Determining a location corresponding to the data as the display center, and determining a current ratio of the map as the display ratio.
  • the position corresponding to the data is displayed on the map with the effect of moving in and out.
  • the location corresponding to the data is highlighted on the map.
  • step D when the position corresponding to the data is highlighted, the information contained in the data is further displayed, wherein the information includes a name, a descriptive text, a symbol or image.
  • the step C further includes: when the number of the data is multiple:
  • C5. Determine the display ratio according to the distance between the center and the window boundary and the display area of the map.
  • the present invention also provides an apparatus for displaying a search result on a map, comprising: a detecting unit for detecting a state of a mouse on a page; and a data transfer unit for using a search result list item on the page according to the state
  • the representative data is transmitted to the map of the page;
  • the determining unit is configured to determine a display center and a display ratio of the map according to the data;
  • a display unit configured to use the display center and the display ratio in the The location corresponding to the data is displayed on the map.
  • the state comprises a mouse movement into the search result list item.
  • the data transfer unit transfers the data represented by the search result list item to the map of the page when the mouse moves into the search result list item.
  • the search result list item is an aggregate item or a non-aggregate item.
  • the state further comprises a mouse moving out of the aggregated item.
  • the data transfer unit displays data represented by all non-aggregated items on the page when the mouse moves out of the aggregate item and does not move into a search result list item other than the aggregated item. Passed to the map on the page.
  • the state further comprises mouse movement into the aggregation node.
  • the data transfer unit transfers the data represented by the aggregation node to the map of the page when the mouse moves into the aggregation node.
  • the determining unit includes: a determining subunit, configured to determine the number of the data; and a determining subunit, configured to determine the data when the number of the data is one
  • the corresponding position is the display center, and the current ratio of the map is the display ratio.
  • the display unit displays the position corresponding to the data on the map with the effect of moving in and out.
  • the display unit highlights a location corresponding to the data on the map.
  • the display unit further displays information contained in the data when the position corresponding to the data is highlighted, wherein the information includes a name, a descriptive text, a symbol or a picture.
  • the determining unit further includes: a window obtaining unit, configured to acquire, by using a calling interface, a window in the panoramic view of the map when the number of the data is multiple a display center determining unit, configured to determine a center of the window, and the center is the display center; a display ratio determining unit configured to display a distance according to the center from the window boundary and display the map The area determines the display ratio.
  • the effect of the map moving with the pointing direction of the mouse on the retrieval result can be realized, thereby increasing the display area of the map, reducing the user operation, and searching at the same time.
  • the result of the aggregation can also be displayed on the map according to the movement of the mouse, which increases the linkage between the search result and the map.
  • FIG. 1 is a schematic diagram of a search result and a map displayed on a page in the prior art
  • FIG. 2 is a schematic diagram showing a comparison effect of a map when a mouse moves to a different retrieval result in the prior art
  • FIG. 3 is a schematic flow chart of a method for displaying a search result on a map according to an embodiment of the present invention
  • Embodiment 4 is a schematic flowchart of Embodiment 1 of a method for displaying a search result on a map according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a page of an embodiment when a mouse is not moved into a search result list item according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a page of Embodiment 1 when a mouse is moved into a search result list item according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a page of Embodiment 2 when a mouse is moved into a search result list item according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram showing a comparison effect of a map when a mouse moves to a different retrieval result according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of a page of an embodiment in which an aggregation item and a non-aggregation item are included in a search result list item according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart diagram of Embodiment 2 of a method for displaying a search result on a map according to an embodiment of the present invention
  • FIG. 11 is a schematic diagram of an embodiment of a window according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of a page of an embodiment when a mouse moves into an aggregation item according to an embodiment of the present invention
  • FIG. 13 is a schematic diagram of a page of an embodiment when a mouse is moved into an aggregation node in an aggregation item according to an embodiment of the present invention
  • FIG. 14 is a schematic diagram of a page of an embodiment when a mouse moves out of an aggregation item according to an embodiment of the present invention.
  • Figure 15 is a schematic block diagram showing the structure of an embodiment of an apparatus for displaying a search result on a map in an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart diagram of a method for displaying a search result on a map according to an embodiment of the present invention. As shown in FIG. 3, the method includes:
  • Step 101 Detect the state of the mouse on the page.
  • Step 102 Transfer data represented by the search result list item on the page to the map of the page according to the state.
  • Step 103 Determine a display center and a display scale of the map according to the data.
  • Step 104 Display a location corresponding to the data on the map by the display center and the display ratio.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG. 4 is a schematic flowchart diagram of Embodiment 1 of a method for displaying a search result on a map according to an embodiment of the present invention.
  • step 1011 corresponds to step 101.
  • step 1011 the state of the mouse on the page is detected, and the state includes the mouse moving into the search result list item on the page.
  • FIG. 5 is a schematic diagram of a page in the embodiment of the present invention when the mouse is not moved into the search result list item
  • FIG. 6 is a schematic diagram of the mouse moving into the search result list item according to the embodiment of the present invention.
  • the so-called search result list item is an item of the search result presented in the form of a list in the page of the search result, as shown in FIG. 5, "new spicy roadside fish (work shop)” and “squatting” Feeding (Wangfujing Department Store Restaurant), etc., belongs to the search result list item.
  • each search result list item contains only one piece of information of the search result.
  • Step 1021 corresponds to step 102.
  • the data represented by the search result list item is transmitted to the map of the page according to the mouse state detected in step 1011.
  • the specific method is: when detecting that the mouse moves into the search result list item, the data represented by the search result list item is transmitted to the map of the page, and in other cases, the data is not required to be transmitted.
  • the data represented by the search result list item may include, but is not limited to, a name, descriptive text, symbol, or picture, which may be further used for display in the next action.
  • Step 1031 corresponds to step 103.
  • the display center and the display scale of the map on the page are determined according to the data transmitted in step 1021.
  • the specific method is as follows: the position corresponding to the data transmitted is the display center, and the current proportion of the map is the display ratio.
  • Step 1041 corresponds to step 104.
  • step 1041 the position corresponding to the data transmitted in step 1021 is displayed on the map with the display center and the display scale determined in step 1031.
  • Fig. 5 and Fig. 6 when the mouse is moved to the "new hotspot shuttle fish (work shop)", the map on Fig. 6 moves compared to Fig. 5, and the point marked with 2 moves to the map.
  • the display ratio of the map is still the same as that of Figure 5. From Figure 5 to Figure 6, the movement of the map is carried out with the effect of moving in and out, without flickering, so-called shifting in and out, at the same scale.
  • the next smooth-moving effect is similar to dragging a mouse after clicking and holding the map.
  • FIG. 7 is a schematic diagram of a page of Embodiment 2 when a mouse is moved into a search result list item according to an embodiment of the present invention. As shown in Figure 7, the information such as "No. 4 Courtyard of Gongti North Road in Chaoyang District" is a descriptive text.
  • FIG. 8 is a schematic diagram of a comparison effect of a map when a mouse moves to a different retrieval result according to an embodiment of the present invention. It can be seen that, compared with the prior art FIG. 2, after the mouse is moved to different retrieval results by using the method of the present invention, the map has a smooth and smooth movement, thereby increasing the display area of the map.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the second embodiment is different from the first embodiment.
  • the search result list item may be an aggregated item or a non-aggregated item, wherein the non-aggregated item is a search similar to that in the first embodiment and includes only one piece of search result information.
  • the result list item, and the aggregate item is a search result list item containing a plurality of pieces of search result information.
  • the aggregation of multiple pieces of search result information into aggregate items is mainly for presenting a type of search result having the same feature as an item, thereby saving the display space of the page, so that the search result list items appearing on the same page have as much as possible Diversity.
  • FIG. 9 is a schematic diagram of a page when an aggregation item and a non-aggregation item are included in a search result list item according to an embodiment of the present invention.
  • “Wushan Roasted Whole Fish outside Jiangbian City”, “Spicy Addiction” and “Gold Hans” are aggregated items.
  • the result information four of which are also marked on the aggregation item, form aggregate nodes, such as “Jinyun Road Store”, “Fangzhuang Store”, “Wei Gongcun Store” and “Peony Garden Store”.
  • the "cloud half” is a non-aggregate term.
  • FIG. 10 is a schematic flowchart diagram of Embodiment 2 of a method for displaying a search result on a map according to an embodiment of the present invention.
  • step 1012 corresponds to step 101.
  • the state of the mouse is detected.
  • the search result list item may be an aggregation item or a non- The aggregation item, so the state of the mouse includes moving into the aggregation item/non-aggregation item.
  • the state of the mouse further includes the aggregation node and the removal aggregation item moved into the aggregation item, wherein the removal of the aggregation item refers to moving out of the aggregation item and not moving into the division. This is the case for other search result list items other than the aggregated item.
  • the embodiment then performs step 1022, and if other states are detected, no data needs to be transmitted.
  • Step 1022 corresponds to step 102.
  • the data represented by the search result list item is transmitted to the map of the page according to the mouse state detected in step 1021.
  • the specific method is: when the mouse moves into the aggregation node in the aggregation item, the non-aggregation item, or the aggregation item, the data represented by the aggregation item, the non-aggregation item, or the aggregation node is transmitted to the map on the page, and when the aggregation item is removed and not moved in
  • the search result list item other than the aggregation item is passed, the data represented by all the non-aggregated items on the page is transferred to the map on the page, and in other cases, the data is not required to be transmitted.
  • the data represented by the aggregation item includes data represented by all the aggregation nodes in the aggregation item.
  • Step 1032 corresponds to step 103.
  • the display center and the display scale of the map on the page are determined according to the data transmitted in step 1022.
  • Step 1032 specifically includes:
  • Step 1032a Determine the number of data passed in step 1022. When the data transmitted is one, step 1032b is performed; when the data transmitted is plural, step 1032c is performed.
  • Step 1032b Determine that the corresponding position of the data is the display center, and the current proportion of the map is the display ratio.
  • Step 1032c Obtain a window of data in the panorama of the map by calling the interface. Since the display area of the map on the page is limited, the map displayed on the page can be understood as the portion cropped from the panorama of the map. The data does not necessarily find its coordinate point in this cropped part, but the data has an absolute coordinate in the panorama of the map. By calling the interface, you can get all the absolute coordinate points of the data in the panorama of the map, including The square area of all absolute coordinate points is the window of data in the panorama of the map. Please refer to FIG. 11.
  • FIG. 11 is a schematic diagram of an embodiment of a window according to an embodiment of the present invention.
  • Step 1032d Determine the center of the window and use the center as the display center. That is, the absolute coordinates of the center of the window are determined, and the absolute coordinates are used as the display center of the map displayed on the page.
  • Step 1032e Determine the display ratio according to the distance between the window center and the window boundary and the display area of the map on the page. This is to display the coordinates of all the data in the display area of the map on the page. It can be implemented according to certain strategies. For example, when the distance between the center of the window and the boundary of the window is far, and the display area of the map is small, the display is performed. The ratio is smaller.
  • Var viewport this.map.getViewport(points); / / Get the window
  • This.center viewport.center; //determine the display center
  • This.zoom viewport.zoom; //determine the display scale
  • Step 1042 corresponds to step 104.
  • step 1042 the position corresponding to the data transferred in step 1022 is displayed on the map with the display center and the display scale determined in step 1032.
  • the display effect in step 1042 is similar to that described in the first embodiment.
  • the data transmitted in step 1022 is plural, the plurality of data will be displayed on the map.
  • FIG. 12 is a schematic diagram of a page when an mouse moves into an aggregation item according to an embodiment of the present invention
  • FIG. 13 is an aggregation node of a mouse moving into an aggregation item according to an embodiment of the present invention
  • FIG. 14 is a schematic diagram of a page of an embodiment when a mouse moves out of an aggregation item according to an embodiment of the present invention.
  • the mouse is moved into the aggregation item "Haidilao Hot Pot”.
  • the data transmitted is four, a, b, c, and d. These four data will be displayed on the map.
  • FIG. 12 is a schematic diagram of a page when an mouse moves into an aggregation item according to an embodiment of the present invention
  • FIG. 13 is an aggregation node of a mouse moving into an aggregation item according to an embodiment of the present invention
  • FIG. 14 is a schematic diagram of a page of an embodiment when a mouse moves out of an aggregation item according to
  • FIG. 15 is a schematic block diagram showing the structure of an apparatus for displaying a search result on a map according to an embodiment of the present invention.
  • the apparatus for displaying the search result on the map includes a detecting unit 201, a data transfer unit 202, a determining unit 203, and a display unit 204.
  • the detecting unit 201 is configured to detect a state of the mouse on the page.
  • the state includes a search result list item that the mouse moves into the page.
  • the so-called search result list item is an item of the search result presented in the form of a list in the page of the search result, wherein the search result list item may be an aggregate item or a non-aggregate item, and the so-called aggregate item includes multiple pieces of search.
  • the search result list item of the result information, the so-called non-aggregate item is a search result list item including only one piece of search result information.
  • the state further includes moving into the aggregation node and moving out of the aggregation item in the aggregation item.
  • FIG. 5 is a schematic diagram of a page in an embodiment of the present invention when the mouse is not moved into the search result list item
  • FIG. 9 is an aggregation item in the search result list item in the embodiment of the present invention.
  • a schematic diagram of a page with an embodiment of a non-aggregate term As shown in Fig. 5, "New Spicy Road Squid Fish (Workshop)" and " ⁇ ⁇ ⁇ (Wangfujing Department Store Restaurant)", etc., belong to the search result list item. As shown in Figure 9, “Wushan Roasted Whole Fish outside Jiangbian City”, “Spicy Addiction” and “Gold Hans” are aggregated items.
  • the data transfer unit 202 is configured to transmit data represented by the search result list item on the page to the map of the page according to the state of the mouse detected by the detecting unit 201.
  • the data transfer unit 202 passes the data represented by the non-aggregate item or the aggregation node to the page. On the map.
  • the data transfer unit 202 passes the plurality of data represented by the aggregate item to the map of the page, wherein the plurality of data is data represented by each of the aggregated items in the aggregated item.
  • the data transfer unit 202 passes the data represented by all the non-aggregate items on the page to the map of the page.
  • the information contained in the data may be a name, descriptive text, symbol or picture, which may be further used for display later.
  • the determining unit 203 is configured to determine a display center and a display scale of the map on the page according to the data delivered by the data transfer unit 202.
  • the determining unit 203 specifically includes:
  • the determining subunit 2031 is configured to determine the number of data transmitted by the data transfer unit 202.
  • the trigger determination sub-unit 2032 performs; when the data transferred by the data transfer unit 202 is plural, the trigger window acquisition sub-unit 2033 executes.
  • the determining subunit 2032 is configured to determine that the data corresponding position is the display center, and the current proportion of the map is the display ratio.
  • the window obtaining unit 2033 is configured to acquire, by using the calling interface, a window in the panorama of the map of the data transmitted by the data transfer unit 202 on the page. Since the display area of the map on the page is limited, the map displayed on the page can be understood as the portion cropped from the panorama of the map. The data does not necessarily find its coordinate point in this cropped part, but the data has an absolute coordinate in the panorama of the map. By calling the interface, you can get all the absolute coordinate points of the data in the panorama of the map, including The square area of all absolute coordinate points is the window of data in the panorama of the map. Please refer to FIG. 11.
  • FIG. 11 is a schematic diagram of an embodiment of a window according to an embodiment of the present invention.
  • the display center determining unit 2034 is configured to determine the center of the window and use the center as a display center. After getting the window, the absolute coordinates of the center of the window can be used as the display center of the map on the page.
  • the display ratio determining unit 2035 is configured to determine the display ratio according to the distance between the center and the window boundary and the display area of the map on the page. In order to display the coordinates of all the data in the display area of the map on the page, it is necessary to determine the display scale, which can be implemented according to a certain strategy, for example, when the distance between the window center and the window boundary is far, and the display area of the map When smaller, the display ratio is smaller.
  • the display unit 204 is configured to determine the display center and the display scale determined by the unit 203 to display the position corresponding to the data transmitted by the data transfer unit 202 on the map of the page.
  • FIG. 5 is a schematic diagram of a page in the embodiment of the present invention when the mouse is not moved into the search result list item
  • FIG. 6 is a schematic diagram of the mouse moving into the search result list item according to the embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a page of Embodiment 2 when a mouse is moved into a search result list item according to an embodiment of the present invention.
  • the information such as "No. 4 Courtyard of Gongti North Road in Chaoyang District” is a descriptive text.
  • FIG. 13 is an embodiment of the embodiment in which the mouse moves into the aggregation node in the aggregation item according to the embodiment of the present invention.
  • Schematic diagram of the page As shown in Figure 13, when the mouse is moved to the aggregation node a, the map will be smoothly moved to the aggregation node a as the display center. In addition, the aggregation node a can be highlighted, and the name and description of the aggregation node a can be further displayed.
  • FIG. 12 is a schematic diagram of a page of an embodiment when a mouse moves into an aggregation item according to an embodiment of the present invention
  • FIG. 14 is a schematic diagram of a page of an embodiment when a mouse moves out of an aggregation item according to an embodiment of the present invention.
  • the data transmitted at this time has four, a, b, c, and d. These four points are displayed on the map.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

一种将检索结果显示在地图上的方法和装置
本申请要求了申请日为2011年05月13日,申请号为201110124572.7,发明名称为“一种将检索结果显示在地图上的方法和装置”的中国专利申请的优先权。
【技术领域】
本发明涉及搜索引擎领域,特别涉及一种将检索结果显示在地图上的方法和装置。
【背景技术】
随着互联网技术的不断发展,通过互联网地图来查看某个地理位置,已经越来越广泛地得到应用。在地理实体的数据库中进行检索时,在检索结果页面常常会出现一个附属的地图,可以让人们参考检索出来的检索结果的地理位置。请参考图1,图1为现有技术中检索结果与地图在页面上显示的示意图。在现有技术中,检索结果将在地图上进行标注,同时当鼠标移动至某个具体的检索结果时,该检索结果在地图上会高亮显示,但是在现有技术中,页面上的地图是静止的,当鼠标从某个具体的检索结果移动到另一个具体的检索结果时,只是高亮显示的点发生了改变,而地图本身没有发生移动或改变。请参考图2,图2为现有技术中鼠标移动到不同检索结果时地图的对比效果示意图。在图2的左边,高亮显示的点是标号为2的点,在图2的右边,高亮显示的点是标号为3的点,可以看出,地图本身并没有发生移动。在这种显示方法下,地图不能随鼠标在检索结果上的指向而移动,从而减少了地图的展示区域,因此,如果用户需要了解高亮显示的点附近的地理情况,而这个高亮显示的点又正好处于地图的边缘,用户就不得不对地图进行拖拽操作,可见,这种静态显示的效果对用户来说不够友好。另外,在现有技术中,还没有一种能根据检索结果中存在聚合的情况将聚合结果显示在地图上的方法。
【发明内容】
本发明所要解决的技术问题是提供一种将检索结果显示在地图上的方法和装置,以解决现有技术的显示方法中地图不能随鼠标在检索结果上的指向而移动,从而减少了地图的展示区域的缺陷。
本发明为解决技术问题而采用的技术方案是提供一种将检索结果显示在地图上的方法,包括:A. 检测鼠标在页面上的状态;B. 根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上;C. 根据所述数据确定所述地图的显示中心和显示比例;D. 以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。
根据本发明之一优选实施例,所述状态包括鼠标移入所述检索结果列表项。
根据本发明之一优选实施例,所述步骤B中,在所述鼠标移入所述检索结果列表项时,将所述检索结果列表项代表的数据传递至所述页面的地图上。
根据本发明之一优选实施例,所述检索结果列表项是聚合项或非聚合项。
根据本发明之一优选实施例,所述状态进一步包括鼠标移出所述聚合项。
根据本发明之一优选实施例,所述步骤B中,在鼠标移出聚合项且未移入除所述聚合项以外的其他检索结果列表项时,将所述页面上所有非聚合项代表的数据传递至所述页面的地图上。
根据本发明之一优选实施例,如果所述聚合项内包含聚合节点,所述状态进一步包括鼠标移入所述聚合节点。
根据本发明之一优选实施例,所述步骤B中,在鼠标移入所述聚合节点时,将所述聚合节点代表的数据传递至所述页面的地图上。
根据本发明之一优选实施例,所述步骤C具体包括:判断所述数据的个数,当所述数据的个数为一个时, 确定所述数据对应的位置为所述显示中心,确定所述地图当前的比例为所述显示比例。
根据本发明之一优选实施例,所述步骤D中,在所述地图上以移入移出的效果显示所述数据对应的位置。
根据本发明之一优选实施例,所述步骤D中,在所述地图上高亮显示所述数据对应的位置。
根据本发明之一优选实施例,所述步骤D中,在高亮显示所述数据对应的位置时,更进一步显示所述数据包含的信息,其中所述信息包括名称、描述性文字、符号或图片。
根据本发明之一优选实施例,所述步骤C在所述数据的个数为多个时进一步包括:
C3. 通过调用接口获取所述数据在所述地图的全景中的视窗;
C4. 确定所述视窗的中心,并以所述中心为所述显示中心;
C5. 根据所述中心与所述视窗边界的距离及所述地图的展示面积确定所述显示比例。
本发明还提供了一种将检索结果显示在地图上的装置,包括:检测单元,用于检测鼠标在页面上的状态;数据传递单元,用于根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上;确定单元,用于根据所述数据确定所述地图的显示中心和显示比例;显示单元,用于以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。
根据本发明之一优选实施例,所述状态包括鼠标移入所述检索结果列表项。
根据本发明之一优选实施例,所述数据传递单元在所述鼠标移入所述检索结果列表项时,将所述检索结果列表项代表的数据传递至所述页面的地图上。
根据本发明之一优选实施例,所述检索结果列表项是聚合项或非聚合项。
根据本发明之一优选实施例,所述状态进一步包括鼠标移出所述聚合项。
根据本发明之一优选实施例,所述数据传递单元在所述鼠标移出聚合项且未移入除所述聚合项以外的其他检索结果列表项时,将所述页面上所有非聚合项代表的数据传递至所述页面的地图上。
根据本发明之一优选实施例,如果所述聚合项内包含聚合节点,所述状态进一步包括鼠标移入所述聚合节点。
根据本发明之一优选实施例,所述数据传递单元在鼠标移入所述聚合节点时,将所述聚合节点代表的数据传递至所述页面的地图上。
根据本发明之一优选实施例,所述确定单元包括:判断子单元,用于判断所述数据的个数;确定子单元,用于当所述数据的个数为一个时,确定所述数据对应的位置为所述显示中心,以所述地图当前的比例为所述显示比例。
根据本发明之一优选实施例,所述显示单元在所述地图上以移入移出的效果显示所述数据对应的位置。
根据本发明之一优选实施例,所述显示单元在所述地图上高亮显示所述数据对应的位置。
根据本发明之一优选实施例,所述显示单元在高亮显示所述数据对应的位置时,更进一步显示所述数据包含的信息,其中所述信息包括名称、描述性文字、符号或图片。
根据本发明之一优选实施例,所述确定单元进一步包括:视窗获取单元,用于当所述数据的个数为多个时,通过调用接口获取所述数据在所述地图的全景中的视窗;显示中心确定单元,用于确定所述视窗的中心,并以所述中心为所述显示中心;显示比例确定单元,用于根据所述中心与所述视窗边界的距离及所述地图的展示面积确定所述显示比例。
由以上技术方案可以看出,通过确定地图的显示中心和显示比例,可以实现地图随鼠标在检索结果上的指向而移动的效果,从而增加了地图的展示区域,减少了用户操作,同时在检索结果有聚合的情况下,可以根据鼠标的移动将聚合的结果也显示在地图上,增加了检索结果与地图之间的联动性。
【附图说明】
图1为现有技术中检索结果与地图在页面上显示的示意图;
图2为现有技术中鼠标移动到不同检索结果时地图的对比效果示意图;
图3为本发明实施例中将检索结果显示在地图上的方法的流程示意图;
图4为本发明实施例中将检索结果显示在地图上的方法的实施例一的流程示意图;
图5为本发明实施例中鼠标未移入检索结果列表项时的实施例的页面示意图;
图6为本发明实施例中鼠标移入检索结果列表项时的实施例一的页面示意图;
图7为本发明实施例中鼠标移入检索结果列表项时的实施例二的页面示意图;
图8为本发明实施例中鼠标移动到不同检索结果时地图的对比效果示意图;
图9 为本发明实施例中检索结果列表项中有聚合项与非聚合项时的实施例的页面示意图;
图10为本发明实施例中将检索结果显示在地图上的方法的实施例二的流程示意图;
图11为本发明实施例中一个视窗的实施例示意图;
图12为本发明实施例中鼠标移入聚合项时的实施例的页面示意图;
图13为本发明实施例中鼠标移入聚合项中的聚合节点时的实施例的页面示意图;
图14为本发明实施例中鼠标移出聚合项时的实施例的页面示意图;
图15为本发明实施例中将检索结果显示在地图上的装置的实施例的结构示意框图。
【具体实施方式】
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。
请参考图3,图3为本发明实施例中将检索结果显示在地图上的方法的流程示意图。如图3所示,所述方法包括:
步骤101:检测鼠标在页面上的状态。
步骤102:根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上。
步骤103:根据所述数据确定所述地图的显示中心和显示比例。
步骤104:以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。
下面以具体的实施例对以上方法进行详细说明。
实施例一:
请一并参考图3与图4,其中图4为本发明实施例中将检索结果显示在地图上的方法的实施例一的流程示意图。
如图3与图4所示,步骤1011与步骤101对应,在步骤1011中,检测鼠标在页面上的状态,所述状态包括鼠标移入页面上的检索结果列表项。请一并参考图5与图6,其中图5为本发明实施例中鼠标未移入检索结果列表项时的实施例的页面示意图,图6为本发明实施例中鼠标移入检索结果列表项时的实施例一的页面示意图。
所谓的检索结果列表项,就是在检索结果的页面中,以列表的方式呈现的检索结果的条目,如图5所示,“新辣道梭边鱼(工体店)”与“呷哺呷哺(王府井百货大楼餐厅)”等,就属于检索结果列表项。在本实施例中,每一个检索结果列表项只包含一条检索结果的信息。
步骤1021与步骤102对应,在步骤1021中,根据步骤1011中检测到的鼠标状态,把检索结果列表项代表的数据传递至页面的地图上。具体的做法为:当检测到鼠标移入检索结果列表项时,将检索结果列表项代表的数据传递至页面的地图上,其他情况则不需要传递数据。检索结果列表项代表的数据包含的信息可包括但不限于名称、描述性文字、符号或图片,这些信息可在接下来的动作中进一步用于显示。
步骤1031与步骤103对应,在步骤1031中,根据步骤1021中传递过来的数据确定页面上地图的显示中心和显示比例。具体的做法为:以传递过来的数据对应的位置为显示中心,以地图当前的比例为显示比例。
步骤1041与步骤104对应,在步骤1041中,以步骤1031中确定的显示中心和显示比例在地图上显示步骤1021中传递过来的数据对应的位置。如图5、图6所示,当鼠标移入到“新辣道梭边鱼(工体店)”时,图6上的地图相比图5发生了移动,其中标号为2的点移动到了地图的中心,而这时,地图的显示比例仍与图5相同,从图5到图6,地图的移动是以移入移出的效果进行的,不会出现闪烁,所谓的移入移出,就是在相同比例尺下一种平滑移动的效果,与鼠标单击按住地图后拖拽的效果类似。从图6还可以看出,标号为2的点在地图上是高亮显示的,在标号为2的点周围还显示了检索结果的名称,除了名称之外,检索结果列表项代表的数据所包含的信息均可以显示,这些信息还有描述性文字、符号或图片。请参考图7,图7为本发明实施例中鼠标移入检索结果列表项时的实施例二的页面示意图。如图7所示,“朝阳区工体北路4号院”等信息就是描述性文字。
请参考图8,图8为本发明实施例中鼠标移动到不同检索结果时地图的对比效果示意图。可见,与现有技术的图2相比,利用本发明方法后,鼠标移动到不同检索结果时,地图发生了明显的平滑移动,从而增加了地图的展示区域。
实施例二:
实施例二与实施例一不同的是,在本实施例中,检索结果列表项可以是聚合项或非聚合项,其中非聚合项是与实施例一中类似的只包含一条检索结果信息的检索结果列表项,而聚合项是包含多条检索结果信息的检索结果列表项。对多条检索结果信息聚合为聚合项,主要是为了把具有相同特征的一类检索结果展现为一个条目,从而节省页面的展示空间,使得在同一页上出现的检索结果列表项尽可能地具有多样性。例如:“海底捞火锅牡丹园店”与“海底捞火锅西单店”都属于“海底捞火锅”,将之聚合为聚合项有利于在页面上展示更多品牌的火锅店供用户选择。请参考图9,图9为本发明实施例中检索结果列表项中有聚合项与非聚合项时的实施例的页面示意图。如图9所示,“江边城外巫山烤全鱼”、“辣尚瘾”与“金汉斯”就是聚合项,在“江边城外巫山烤全鱼”这个聚合项里,有15条检索结果信息,其中的四条在聚合项上还进行了标注,形成了聚合节点,如“霄云路店”、“方庄店”“魏公村店”、“牡丹园店”。而“云半间”就是非聚合项。
请一并参考图3与图10,其中图10为本发明实施例中将检索结果显示在地图上的方法的实施例二的流程示意图。
如图3与图10所示,步骤1012与步骤101对应,在步骤1012中,检测鼠标的状态,与实施例一相比,在实施例二中,由于检索结果列表项可以是聚合项或非聚合项,因此鼠标的状态包括移入聚合项/非聚合项,此外,鼠标的状态进一步还包括移入聚合项中的聚合节点和移出聚合项,其中移出聚合项指的是移出聚合项且未移入除该聚合项以外的其他检索结果列表项这种情况。当本步骤检测到前述三种状态时,本实施例接著执行步骤1022,若检测到其他状态则不需要传递数据。
步骤1022与步骤102对应,在步骤1022中,根据步骤1021中检测到的鼠标状态,把检索结果列表项代表的数据传递至页面的地图上。具体的做法为:当鼠标移入聚合项、非聚合项或聚合项中的聚合节点时,将聚合项、非聚合项或聚合节点代表的数据传递至页面上的地图,当移出聚合项且未移入除该聚合项以外的其他检索结果列表项时,将页面上所有非聚合项代表的数据传递至页面上的地图,其他情况则不需要传递数据。其中,当鼠标移入聚合项时,聚合项代表的数据包括聚合项中所有聚合节点代表的数据。
步骤1032与步骤103对应,在步骤1032中,根据步骤1022中传递过来的数据确定页面上地图的显示中心和显示比例。步骤1032具体包括:
步骤1032a:判断步骤1022中传递过来的数据的个数。当传递过来的数据为一个时,执行步骤1032b;当传递过来的数据为多个时,执行步骤1032c。
步骤1032b:确定以数据对应位置为显示中心,以地图当前的比例为显示比例。
步骤1032c:通过调用接口获取数据在地图的全景中的视窗。由于在页面上的地图的展示面积是有限的,因此在页面上展示的地图,可以理解为从地图的全景中裁剪下来的部分。数据在这个裁剪下来的部分不一定找得到其坐标点,但是数据在地图的全景中却有一个绝对坐标,通过调用接口,就可以获取到数据在地图的全景中的所有绝对坐标点,而包含了所有绝对坐标点的方形区域,就是数据在地图的全景中的视窗。请参考图11,图11为本发明实施例中一个视窗的实施例示意图。
步骤1032d:确定视窗的中心,并以所述中心为显示中心。也就是确定视窗中心的绝对坐标,并将该绝对坐标作为页面上展示的地图的显示中心。
步骤1032e:根据视窗中心与视窗边界的距离以及页面上地图的展示面积确定显示比例。这是为了将所有数据的坐标都能在页面上的地图的展示面积内显示,可以根据一定的策略来实现,例如当视窗中心与视窗边界的距离较远,而地图的展示面积较小时,显示比例就较小。
以上方法可以用伪代码描述如下:
doBestMap:function(points){
...
var viewport = this.map.getViewport(points); //获取视窗
this.center = viewport.center; //确定显示中心
this.zoom = viewport.zoom; //确定显示比例
this.map.centerAndZoom(this.center,this.zoom);
...
}
步骤1042与步骤104对应,在步骤1042中,将以步骤1032中确定的显示中心和显示比例在地图上显示步骤1022中传递过来的数据对应的位置。当步骤1022中传递的数据为一个时,在步骤1042中的显示效果与实施例一中介绍的类似,当步骤1022中传递的数据为多个时,这多个数据都会在地图中显示出来。
请一并参考图12、图13与图14,其中图12为本发明实施例中鼠标移入聚合项时的实施例的页面示意图,图13为本发明实施例中鼠标移入聚合项中的聚合节点时的实施例的页面示意图,图14为本发明实施例中鼠标移出聚合项时的实施例的页面示意图。如图12所示,鼠标移入到了聚合项“海底捞火锅”,此时传递的数据有a、b、c、d四个,这四个数据都将在地图上显示出来。如图13所示,当鼠标进一步移入到聚合节点a时,地图将平滑移动到以聚合节点a为显示中心,此外,还可将聚合节点a高亮显示,还可以进一步显示聚合节点a的名称、描述性文字、文字或图片。如图14所示,当鼠标从聚合项“海底捞火锅”中移出且未移入除“海底捞火锅”以外的其他检索结果列表项时,传递的数据有“哇哇叫”、“典派豆捞坊”等非聚合项代表的数据,这些数据都将在地图上显示出来。。
请参考图15,图15为本发明实施例中将检索结果显示在地图上的装置的实施例的结构示意框图。
如图15所示,将检索结果显示在地图上的装置包括:检测单元201、数据传递单元202、确定单元203和显示单元204。
其中检测单元201,用于检测鼠标在页面上的状态。所述状态包括鼠标移入页面上的检索结果列表项。所谓的检索结果列表项,就是在检索结果的页面中,以列表的方式呈现的检索结果的条目,其中,检索结果列表项可以是聚合项或非聚合项,所谓聚合项,就是包含多条检索结果信息的检索结果列表项,所谓非聚合项,就是只包含一条检索结果信息的检索结果列表项。当检索结果列表项中有聚合项时,所述状态还进一步包括移入聚合项中的聚合节点和移出聚合项。
请一并参考图5与图9,其中图5为本发明实施例中鼠标未移入检索结果列表项时的实施例的页面示意图,图9为本发明实施例中检索结果列表项中有聚合项与非聚合项时的实施例的页面示意图。如图5所示,“新辣道梭边鱼(工体店)”与“呷哺呷哺(王府井百货大楼餐厅)”等,就属于检索结果列表项。如图9所示,“江边城外巫山烤全鱼”、“辣尚瘾”与“金汉斯”就是聚合项,在“江边城外巫山烤全鱼”这个聚合项里,有15条检索结果信息,其中的四条在聚合项上还进行了标注,形成了聚合节点,如“霄云路店”、“方庄店”“魏公村店”、“牡丹园店”。而“云半间”就是非聚合项。
数据传递单元202,用于根据检测单元201检测到的鼠标的状态将页面上的检索结果列表项代表的数据传递至页面的地图上。
当鼠标移入检索结果列表项中的非聚合项时或鼠标移入到检索结果列表项中的聚合项中的聚合节点时,数据传递单元202会将非聚合项或聚合节点代表的一个数据传递至页面的地图上。当鼠标移入检索结果列表项中的聚合项时,数据传递单元202会将聚合项代表的多个数据传递至页面的地图上,其中的多个数据是聚合项中的各个聚合节点代表的数据。当鼠标移出检索结果列表项中的聚合项且未移入除该聚合项以外的其他检索结果列表项时,数据传递单元202会将页面上所有非聚合项代表的数据传递至页面的地图上。所述数据包含的信息可以是名称、描述性文字、符号或图片,这些信息可在后面进一步用于显示。
确定单元203,用于根据数据传递单元202传递的数据确定页面上的地图的显示中心和显示比例。其中,确定单元203具体包括:
判断子单元2031,用于判断数据传递单元202传递过来的数据的个数。当数据传递单元202传递的数据为一个时,触发确定子单元2032执行;当数据传递单元202传递过来的数据为多个时,触发视窗获取子单元2033执行。
确定子单元2032,用于确定以数据对应位置为显示中心,以地图当前的比例为显示比例。
视窗获取单元2033,用于通过调用接口获取数据传递单元202传递的数据在页面上的地图的全景中的视窗。由于在页面上的地图的展示面积是有限的,因此在页面上展示的地图,可以理解为从地图的全景中裁剪下来的部分。数据在这个裁剪下来的部分不一定找得到其坐标点,但是数据在地图的全景中却有一个绝对坐标,通过调用接口,就可以获取到数据在地图的全景中的所有绝对坐标点,而包含了所有绝对坐标点的方形区域,就是数据在地图的全景中的视窗。请参考图11,图11为本发明实施例中一个视窗的实施例示意图。
显示中心确定单元2034,用于确定视窗的中心,并以该中心为显示中心。在得到视窗后,视窗中心的绝对坐标就可以作为页面上地图的显示中心。
显示比例确定单元2035,用于根据该中心与视窗边界的距离及页面上的地图的展示面积确定显示比例。为了将所有数据的坐标都能在页面上的地图的展示面积内显示,需要确定显示比例,具体的可根据一定策略来实现,例如当视窗中心与视窗边界的距离较远,而地图的展示面积较小时,显示比例就较小。
显示单元204,用于以确定单元203确定的显示中心和显示比例在页面的地图上显示数据传递单元202传递的数据对应的位置。
请一并参考图5与图6,其中图5为本发明实施例中鼠标未移入检索结果列表项时的实施例的页面示意图,图6为本发明实施例中鼠标移入检索结果列表项时的实施例一的页面示意图。当数据传递单元202传递的数据为一个时,如图5、图6所示,图6上的地图相比图5发生了移动,其中标号为2的点移动到了地图的中心,而这时,地图的显示比例仍与图5相同,从图5到图6,地图的移动是以移入移出的效果进行的,不会出现闪烁,所谓的移入移出,就是在相同比例尺下一种平滑移动的效果,与鼠标单击按住地图后拖拽的效果类似。从图6还可以看出,标号为2的点在地图上是高亮显示的,在标号为2的点周围还显示了检索结果的名称,除了名称之外,检索结果列表项代表的数据所包含的信息均可以显示,这些信息还有描述性文字、符号或图片。请参考图7,图7为本发明实施例中鼠标移入检索结果列表项时的实施例二的页面示意图。如图7所示,“朝阳区工体北路4号院”等信息就是描述性文字。当鼠标移入检索结果列表项中的聚合项中的聚合节点时,显示效果与上面描述的类似,请参考图13,图13为本发明实施例中鼠标移入聚合项中的聚合节点时的实施例的页面示意图。如图13所示,鼠标移入到聚合节点a时,地图将平滑移动到以聚合节点a为显示中心,此外,还可将聚合节点a高亮显示,还可以进一步显示聚合节点a的名称、描述性文字、文字或图片。
请一并参考图12与图14,图12为本发明实施例中鼠标移入聚合项时的实施例的页面示意图,图14为本发明实施例中鼠标移出聚合项时的实施例的页面示意图。如图12所示,当鼠标移入到聚合项“海底捞火锅”,此时传递的数据有a、b、c、d四个, 这四个点都在地图上显示出来。如图14所示,当鼠标从聚合项“海底捞火锅”中移出且未移入除“海底捞火锅”以外的其他检索结果列表项时,传递的数据有“哇哇叫”、“典派豆捞坊”等非聚合项代表的数据,这些数据都将在地图上显示出来,如2、3、6、8。值得注意的是,本发明中所述的移入或移出,并不特指从某个边界进入或出来,对于使用触控屏造成的鼠标可以跳跃式地指向某个点或区域,也属于本发明中描述的移入移出概念的范围。
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。

Claims (18)

  1. 一种将检索结果显示在地图上的方法,其特征在于,所述方法包括:
    A. 检测鼠标在页面上的状态;
    B. 根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上;
    C. 根据所述数据确定所述地图的显示中心和显示比例;
    D. 以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。
  2. 根据权利要求1所述的方法,其特征在于,其中所述状态包括鼠标移入所述检索结果列表项;
    所述步骤B中,在所述鼠标移入所述检索结果列表项时,将所述检索结果列表项代表的数据传递至所述页面的地图上。
  3. 根据权利要求2所述的方法,其特征在于,所述检索结果列表项是聚合项或非聚合项。
  4. 根据权利要求3所述的方法,其特征在于,所述状态进一步包括鼠标移出所述聚合项;
    所述步骤B中,在鼠标移出聚合项且未移入除所述聚合项以外的其他检索结果列表项时,将所述页面上所有非聚合项代表的数据传递至所述页面的地图上。
  5. 根据权利要求3所述的方法,其特征在于,如果所述聚合项内包含聚合节点,所述状态进一步包括鼠标移入所述聚合节点;
    所述步骤B中,在鼠标移入所述聚合节点时,将所述聚合节点代表的数据传递至所述页面的地图上。
  6. 根据权利要求1所述的方法,其特征在于,所述步骤C具体包括:
    判断所述数据的个数,当所述数据的个数为一个时,确定所述数据对应的位置为所述显示中心,确定所述地图当前的比例为所述显示比例。
  7. 根据权利要求6所述的方法,其特征在于,所述步骤D中,在所述地图上以移入移出的效果显示所述数据对应的位置;或者,
    在所述地图上高亮显示所述数据对应的位置。
  8. 根据权利要求7所述的方法,其特征在于,所述步骤D中,在高亮显示所述数据对应的位置时,更进一步显示所述数据包含的信息,其中所述信息包括名称、描述性文字、符号或图片。
  9. 根据权利要求7所述的方法,其特征在于,所述步骤C在所述数据的个数为多个时进一步包括:
    C3. 通过调用接口获取所述数据在所述地图的全景中的视窗;
    C4. 确定所述视窗的中心,并以所述中心为所述显示中心;
    C5. 根据所述中心与所述视窗边界的距离及所述地图的展示面积确定所述显示比例。
  10. 一种将检索结果显示在地图上的装置,其特征在于,所述装置包括:
    检测单元,用于检测鼠标在页面上的状态;
    数据传递单元,用于根据所述状态将页面上的检索结果列表项代表的数据传递至所述页面的地图上;
    确定单元,用于根据所述数据确定所述地图的显示中心和显示比例;
    显示单元,用于以所述显示中心和所述显示比例在所述地图上显示所述数据对应的位置。
  11. 根据权利要求10所述的装置,其特征在于,所述状态包括鼠标移入所述检索结果列表项;
    所述数据传递单元在所述鼠标移入所述检索结果列表项时,将所述检索结果列表项代表的数据传递至所述页面的地图上。
  12. 根据权利要求11所述的装置,其特征在于,所述检索结果列表项是聚合项或非聚合项。
  13. 根据权利要求12所述的装置,其特征在于,所述状态进一步包括鼠标移出所述聚合项;所述数据传递单元在所述鼠标移出聚合项且未移入除所述聚合项以外的其他检索结果列表项时,将所述页面上所有非聚合项代表的数据传递至所述页面的地图上。
  14. 根据权利要求12所述的装置,其特征在于,如果所述聚合项内包含聚合节点,所述状态进一步包括鼠标移入所述聚合节点;所述数据传递单元在鼠标移入所述聚合节点时,将所述聚合节点代表的数据传递至所述页面的地图上。
  15. 根据权利要求10所述的装置,其特征在于,所述确定单元包括:
    判断子单元,用于判断所述数据的个数;
    确定子单元,用于当所述数据的个数为一个时,确定所述数据对应的位置为所述显示中心,以所述地图当前的比例为所述显示比例。
  16. 根据权利要求15所述的装置,其特征在于,所述显示单元在所述地图上以移入移出的效果显示所述数据对应的位置;或者,所述显示单元在所述地图上高亮显示所述数据对应的位置。
  17. 根据权利要求16所述的装置,其特征在于,所述显示单元在高亮显示所述数据对应的位置时,更进一步显示所述数据包含的信息,其中所述信息包括名称、描述性文字、符号或图片。
  18. 根据权利要求15所述的装置,其特征在于,所述确定单元进一步包括:
    视窗获取单元,用于当所述数据的个数为多个时,通过调用接口获取所述数据在所述地图的全景中的视窗;
    显示中心确定单元,用于确定所述视窗的中心,并以所述中心为所述显示中心;
    显示比例确定单元,用于根据所述中心与所述视窗边界的距离及所述地图的展示面积确定所述显示比例。
PCT/CN2012/074178 2011-05-13 2012-04-17 一种将检索结果显示在地图上的方法和装置 WO2012155744A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110124572.7 2011-05-13
CN201110124572.7A CN102222084B (zh) 2011-05-13 2011-05-13 一种将检索结果显示在地图上的方法和装置

Publications (1)

Publication Number Publication Date
WO2012155744A1 true WO2012155744A1 (zh) 2012-11-22

Family

ID=44778636

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/074178 WO2012155744A1 (zh) 2011-05-13 2012-04-17 一种将检索结果显示在地图上的方法和装置

Country Status (2)

Country Link
CN (1) CN102222084B (zh)
WO (1) WO2012155744A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222084B (zh) * 2011-05-13 2014-02-19 北京百度网讯科技有限公司 一种将检索结果显示在地图上的方法和装置
CN103377204B (zh) * 2012-04-18 2016-02-24 腾讯科技(深圳)有限公司 一种地图搜索结果的展现方法和装置
CN104111934B (zh) * 2013-04-17 2019-06-28 北京百度网讯科技有限公司 电子地图搜索结果的展示方法以及电子地图客户端
CN103455558A (zh) * 2013-08-08 2013-12-18 义乌中国小商品城信息技术有限公司 一种定位方法及装置
CN105335393B (zh) * 2014-07-11 2019-08-09 阿里巴巴集团控股有限公司 一种地图显示方法及装置
CN105279185A (zh) * 2014-07-16 2016-01-27 贾新志 一种搜索引擎搜索结果的图形化显示方法
CN104732567B (zh) * 2015-04-03 2017-10-27 深圳云财经大数据技术有限公司 将股票资讯在k线图、分时图进行标注的数据可视化方法
CN105760535A (zh) * 2016-03-11 2016-07-13 杨晟志 一种基于虚拟地图上的印象检索方法
CN108280154B (zh) * 2018-01-09 2022-09-06 深圳市小猫信息技术有限公司 一种地图标注信息展示方法、装置、终端及可读存储介质
CN110457409A (zh) * 2019-06-27 2019-11-15 南京市公安局鼓楼分局 一种弹打玻璃案件嫌疑人搜索排查的方法
CN113486131B (zh) * 2021-07-06 2023-08-08 兰州领新网络信息科技有限公司 一种创新创业地图信息服务系统
CN113436628A (zh) * 2021-08-27 2021-09-24 广州小鹏汽车科技有限公司 语音交互方法、装置、系统、交通工具及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243094B1 (en) * 1996-09-06 2001-06-05 Peter Sklar Clustering user interface
CN1471678A (zh) * 2001-02-09 2004-01-28 奥弗图尔服务公司 采用空间选择特征的信息检索系统和方法
CN101313300A (zh) * 2005-08-30 2008-11-26 谷歌公司 本地搜索
CN101751402A (zh) * 2008-12-05 2010-06-23 宏达国际电子股份有限公司 地图信息管理方法及系统
CN102222084A (zh) * 2011-05-13 2011-10-19 北京百度网讯科技有限公司 一种将检索结果显示在地图上的方法和装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949642B2 (en) * 2004-10-12 2011-05-24 Wendy W Yang System and method for managing and presenting entity information
CN101349567A (zh) * 2008-07-29 2009-01-21 方圆信通科技(北京)有限公司 基于gps和移动终端的提供本地移动地理信息服务的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243094B1 (en) * 1996-09-06 2001-06-05 Peter Sklar Clustering user interface
CN1471678A (zh) * 2001-02-09 2004-01-28 奥弗图尔服务公司 采用空间选择特征的信息检索系统和方法
CN101313300A (zh) * 2005-08-30 2008-11-26 谷歌公司 本地搜索
CN101751402A (zh) * 2008-12-05 2010-06-23 宏达国际电子股份有限公司 地图信息管理方法及系统
CN102222084A (zh) * 2011-05-13 2011-10-19 北京百度网讯科技有限公司 一种将检索结果显示在地图上的方法和装置

Also Published As

Publication number Publication date
CN102222084A (zh) 2011-10-19
CN102222084B (zh) 2014-02-19

Similar Documents

Publication Publication Date Title
WO2012155744A1 (zh) 一种将检索结果显示在地图上的方法和装置
WO2015163536A1 (en) Display device and method for controlling the same
WO2011021907A2 (en) Metadata tagging system, image searching method and device, and method for tagging a gesture thereof
WO2013131434A1 (zh) 交互界面的展示控制方法及即时通信工具、计算机存储介质
WO2012096451A2 (en) Method and apparatus for editing touch display
WO2011099808A2 (en) Method and apparatus for providing a user interface
WO2014157855A1 (en) Display method and apparatus for diversely displaying an object according to scroll speed
WO2013174172A1 (zh) 一种文件信息预览方法及系统
EP3097490A1 (en) Smart watch, display device and method of controlling therefor
WO2015005605A1 (en) Remote operation of applications using received data
WO2017206454A1 (zh) 一种指纹拍照处理方法及装置
WO2011149160A1 (ko) 애니메이션 저작 시스템 및 애니메이션 저작 방법
WO2016028042A1 (en) Method of providing visual sound image and electronic device implementing the same
WO2015066995A1 (zh) 一种智能收藏与分享的方法及移动终端
EP2850911A1 (en) Portable device and method for controlling the same
WO2016155311A1 (zh) 一种基于移动终端的拍照处理方法及系统
WO2016035993A1 (ko) 클라우드 포인트를 이용한 실내 지도 구축 장치 및 방법
WO2015058443A1 (zh) 一种实现浏览器中光标定位的方法及装置
CN101354791A (zh) 用于编辑照片标签的用户接口
EP2965168A1 (en) Double unlocking apparatus of a portable device equipped with an expandable display and controlling method thereof
WO2013169051A1 (en) Method and apparatus for performing auto-naming of content, and computer-readable recording medium thereof
WO2014142382A1 (en) Display device and method for controlling the same
WO2019132566A1 (ko) 멀티 심도 이미지의 자동 생성 방법
WO2016099085A1 (en) Apparatus and method for determining content screening suitabilities in a multi-projection theater
WO2018000884A1 (zh) 数据展示方法和装置、终端和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12785835

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12785835

Country of ref document: EP

Kind code of ref document: A1