---
schema_version: "1"
id: 321a97f58d8c0f73a0fd9058508a9bb4e330f30bf1e83df875b504fbed7eb02a
title: 在地图中搜索位置
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/public/desktop/maps_mapsearch.md
canonical_url: https://help.tableau.com/current/public/desktop/zh-cn/maps_mapsearch.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 122e04b94ff1e2b53c91fc37adeda22409a59594b2c3dbab85c4490369610d16
description: Use map search to find and inspect locations in a map view.
---
[跳转到主要内容](#main-content)

# 在地图中搜索位置

地图搜索可帮助您在地图视图中查找位置，以便能够快速浏览和检查数据。地图搜索图标显示在视图的左上角。单击搜索 ![搜索图标。](/tableau/current/zh-cn/public/desktop/zh-cn/Img/explore_maps5.png) 图标时，将出现一个搜索框。

![用于搜索地图标记的工具栏。](/tableau/current/zh-cn/public/desktop/zh-cn/Img/mapsearch3.png)

当您开始在搜索框中键入时，地图搜索将推荐位于您的地图视图中的可能位置。推荐的位置以位置名称和数据源的文本为基础。

您可以搜索以下位置类型：

- 大洲
- 国家/地区
- 州/省/市/自治区
- 郡县
- 城市
- 邮政编码

从推荐位置的列表中选择一个位置，以平移和缩放到地图上的该位置。

![地图工作区工具栏。](/tableau/current/zh-cn/public/desktop/zh-cn/Img/mapsearch1.png)

## 隐藏地图搜索

默认情况下，地图搜索图标显示在视图的左上角。将视图发布到 Tableau Server 或 Tableau Cloud，或者通过 Tableau Reader 共享视图时，地图搜索图标将保留在视图中。如果不希望 Viewer（查看者）搜索您的地图视图中的位置，您可以隐藏地图搜索图标。

有关显示和隐藏地图搜索的详细信息，请参见[自定义用户与地图的交互方式](https://help.tableau.com/current/public/desktop/zh-cn/maps_customize_interaction.htm)。