opensearch-docs-cn/_dashboards/visualize/maptiles.md

1.4 KiB

layout title grand_parent parent nav_order redirect_from
default Configuring a Web Map Service (WMS) Building data visualizations Using coordinate and region maps 5
/docs/opensearch-dashboards/maptiles/

{%- comment -%}The /docs/opensearch-dashboards/maptiles/ redirect is specifically to support the UI links in OpenSearch Dashboards 1.0.0.{%- endcomment -%}

Configuring a Web Map Service (WMS)

The Open Geospatial Consortium (OGC) Web Map Service (WMS) specification is an international specification for requesting dynamic maps on the web. OpenSearch Dashboards includes default map tiles. For specialized maps, you can configure a WMS on OpenSearch Dashboards following these steps:

  1. Log in to OpenSearch Dashboards at https://<host>:<port>. For example, you can connect to OpenSearch Dashboards by connecting to https://localhost:5601. The default username and password are admin.

  2. Choose Management > Advanced Settings.

  3. Locate visualization:tileMap:WMSdefaults.

  4. Change enabled to true and add the URL of a valid WMS server, as shown in the following example:

    {
      "enabled": true,
      "url": "<wms-map-server-url>",
      "options": {
        "format": "image/png",
        "transparent": true
      }
    }
    

Web map services may have licensing fees or restrictions, and you are responsible for complying with any such fees or restrictions. {: .note }