opensearch-docs-cn/_dashboards/maptiles.md

1.1 KiB

layout title nav_order redirect_from
default WMS map server 20
/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 -%}

Configure WMS map server

OpenSearch Dashboards includes default map tiles, but if you need more specialized maps, you can configure OpenSearch Dashboards to use a WMS map server:

  1. Open OpenSearch Dashboards at https://<host>:<port>. For example, https://localhost:5601.

  2. If necessary, log in.

  3. Choose Management and Advanced Settings.

  4. Locate visualization:tileMap:WMSdefaults.

  5. Change enabled to true and add the URL of a valid WMS map server:

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

Map services often have licensing fees or restrictions. You're responsible for all such considerations on any map server that you specify. {: .note }