opensearch-docs-cn/docs/opensearch-dashboards/maptiles.md

31 lines
909 B
Markdown
Raw Normal View History

2021-05-05 13:09:47 -04:00
---
layout: default
2021-05-05 19:43:40 -04:00
title: WMS map server
2021-05-05 13:09:47 -04:00
parent: OpenSearch Dashboards
nav_order: 5
---
# Configure WMS map server
2021-05-11 12:12:37 -04:00
OpenSearch Dashboards includes default map tiles, but if you need more specialized maps, you can configure OpenSearch Dashboards to use a WMS map server:
2021-05-05 13:09:47 -04:00
1. Open OpenSearch Dashboards at `https://<host>:<port>`. For example, [https://localhost:5601](https://localhost:5601).
1. If necessary, log in.
2021-05-05 19:43:40 -04:00
1. Choose **Management** and **Advanced Settings**.
2021-05-05 13:09:47 -04:00
1. Locate `visualization:tileMap:WMSdefaults`.
2021-05-05 19:43:40 -04:00
1. Change `enabled` to true and add the URL of a valid WMS map server:
2021-05-05 13:09:47 -04:00
```json
{
"enabled": true,
"url": "<wms-map-server-url>",
"options": {
"format": "image/png",
"transparent": true
}
}
```
2021-05-05 19:43:40 -04:00
Map services often have licensing fees or restrictions. You're responsible for all such considerations on any map server that you specify.
2021-05-05 13:09:47 -04:00
{: .note }