From OpenStreetMap Wiki
Jump to navigation Jump to search
帮助 关于 浏览 如何贡献 贡献地图数据 编辑器 术语表 新手指南





  • 点击右上方的“加号”(1)或按下键盘上的“加号”键(+)来放大地图。这将会以屏幕中心来放大地图。
    • 按住shift键并单击可缩放3个级别。
    • 你也可以使用鼠标滚轮或双击地图来缩放地图。这将会以鼠标指针位置为中心缩放。
    • 你还可以按住shift键并用鼠标选取一个范围来进行放大。
  • 如果你有一个触摸屏,你可以使用用两根手指捏或放的手势来缩放。
  • 点击右上角的“减号”(2)或按下键盘上的“减号”键(-)或使用鼠标滚轮来缩小。上述的按住shift并单击的方法也仍然可用。
  • 只需使用鼠标拖动地图或使用键盘方向键来查看周围
  • 点击右方的小箭头(3)来将地图定位到你的位置(由浏览器提供的地理位置)。

You will see a general coastal layout of countries at high zoom levels, but as you zoom in, you can find roads and all sorts of other details which we have in our data.


In the search box appearing beside the map (10), enter the name of a town/city/road, a shop's name, or combined searches like "bakery tour Eiffel", "fast food Piraeus" etc. – see Nominatim for more information. Some places are also described on this wiki under Mapping projects.

Change layers on the homepage by clicking the layers icon (4)


你可以通过切换 "图层" 来以不同的样式展示地图数据。点击图层按钮 (4) 来切换。

"Standard" 是默认的图层。 "Cycle Map"、 "Transport Map" 和 "Humanitarian" 是替代的。 The styles look quite different. Which is better, is often a matter of personal preference. These views are rendered in different ways (being turned from raw data into a map image), although all of these use Mapnik software. Because the layers are running on different server infrastructure with different set-ups, one layer may be more out-of-date compared to another (recently mapped roads not showing up).


For the “Standard” and “Cycle Map” layers there is a basic key available showing how different types of primitives (mainly roads) on the map are rendered. Click the “i” icon (5) to bring it up. For a more complete key of Standard, see Standard tile layer/Key. For a more complete key of Cycle Map, see [1].


Newcomers should also note that it is in the nature of OpenStreetMap that there are many many other designs of maps available elsewhere if the small selection on www.openstreetmap.org don't appeal. They are all based on the same OSM data. A good point to start discovering may be List of OSM-based services.



在 '图层' 侧边栏 (4),你可以勾选 '注记' 来 查看 别人在地图上放的注记。如果有的话, 你将会看到记号出现。点击记号来阅读注记.

若要添加新注记至地图,请点击注记按钮 (7)

Map Data layer

In the 'layers' sidebar (4), you can also tick 'data' to activate the data browser. This gives you a view of the underlying data, allowing you to select the elements and view their tag data, and editing history. Similar features are also available within the editors (See Editing). This view is read-only. It is a  JavaScript interface which requires a powerful up-to-date web browser, but does not require  Adobe flash support.

There is also an easier data interface: use the query features tool by clicking the ? (11). Then click a spot in the map to see which data elements are at this spot.


If you do not know OpenStreetMap already, open this link in a new tab and have a look at the beginning of this page.

You can show something on the OSM map to somebody (share it) by …

  • using the Share Panel (6) (see Adding a Marker below) or by
  • copying the URL from your browser's address bar (8) and pasting it, for example, in an e-mail to send. By using (clicking) that URL, the recipient will see the same map as you see (with any optional highlighting you made to show a feature).

Optional highlights are shown …

  • if you search (10) for something and click on a result,
  • if you click on ? (11), hover it and click over some spot and click on one of the nearby results,
  • if you add a marker (see section Adding a Marker below).

Technically, the URL is dynamically modified as you pan around and is constructed like described in the section Other URL tricks below.

Adding a Marker

Finer steps to generate a link with a marker

Another option on the 'share' panel is to share a map URL which will cause it to show a marker.

  • Zoom/pan to the approximate area you require.
  • Open the 'share' panel (6 in top image)/(1 in right image here)
  • Tick the "Include marker" box to add a marker. (2)
  • Pan the map or drag the marker, to position it precisely (3)
  • Zoom out (e.g. by clicking the minus button) if you wish to share a map of the wider area
  • Select 'Link' or 'Short Link' in the right-hand side box (4)
  • Click into the URL box directly below the buttons, the URL will get selected automatically (5), copy the URL (e.g. by right click and "copy") (6)
  • Paste your URL into a new browser window to test it
  • Paste your URL elsewhere to share it.

See also Question: How do I add a marker to a map? which lists some other options.

Short links

OpenStreetMap supports highly compact short URLs which can be generated from the 'share' panel (6). Short links are great for emailing, tweeting, and otherwise sharing map links in situations where a long URL can cause problems. They redirect to the longer type of the URL described above. Note that these short links are case sensitive and contain I, l and 1. In some fonts these characters can be difficult to distinguish. For more about how the feature works see Shortlink.

其他 URL 技巧

Note that some URL parameters may not be supported long term. We offer no guarantees.

URL 结构大概像这样:

[#map=<zoom level>/<latitude>/<longitude>]
[&bbox=<min longitude>,<min latitude>,<max longitude>,<max latitude>]
[&layers=<layer code>]
  • The parameters mlat and mlon are used to indicate the position of the red marker. Please note that your marker may be outside the shown map part.
  • The layers URL parameter takes a special Layer Code representing your layer selection. The parameter is optional and if you leave it out, we will default to showing our "standard" map style. See Layer URL parameter for more information.

bbox URLs

The URL forms shown above will produce a map centred on the specified latitude and longitude. It is also possible to get a map that displays everything within a given bounding box.

https://www.openstreetmap.org/?minlon=[Min Longitude]&minlat=[Min Latitude]&maxlon=[Max Longitude]&maxlat=[Max Latitude]&layers=[Layer code]
https://www.openstreetmap.org/?bbox=[Min Longitude]%2C[Min Latitude]%2C[Max Longitude]%2C[Max Latitude]&layers=[Layer code] (note %2C is an encoded comma, per RFC 2396)

Example: https://www.openstreetmap.org/?minlon=22.3418234&minlat=57.5129102&maxlon=22.5739625&maxlat=57.6287332

You can also combine the bounding box and marker. Example: https://www.openstreetmap.org/?minlon=22.3418234&minlat=57.5129102&maxlon=22.5739625&maxlat=57.6287332&mlat=57.5529102&mlon=22.5148625

node/way/relation URLs

It is also possible to directly ask openstreetmap.org to show a particular node, way or relation. Examples:

Browsing node/way/relation

It is also possible to directly ask openstreetmap.org to browse details of a particular node, way or relation. Examples:

To get the full history add /history:

If you need a special version add /history#<version-number>

The "api/0.6" variants return the raw data (suitable for OSM editors and software) instead of an HTML page (suitable for web browsers). This might suite your needs better, and usually works much faster than the HTML version.

What next?

Once you've looked around our maps it's time to zoom in on your neighbourhood and try out that edit button (9). See Editing for more instructions, and also check out http://learnosm.org a nice documentation site for beginning editing.

What else is next? Well there are various other ways of Getting Involved, or may be more interested in Using OpenStreetMap.

Alternative map browsing options

If you need an alternative interface for basic map browsing...

  • Mobilemap is optimized for browsers without Javascript support. The display is optimized for small screen sizes and aims at mobile devices.
  • You may also search for List of OSM based Services.

Technical Details

Technical details about this map 'browsing' interface, are found on the "Slippy Map" page.