-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Vega maps visualization doesn't use custom WMS server #934
Comments
@jcgraybill thanks for opening. Quick clarification: we're seeing an error "tmsServiceConfig is undefined" when trying to reproduce. Is this what you were seeing? |
I believe we might need to fork EMS Client. Will need to prioritize in that. |
Any update? |
I have a private fork of the maps client that I'm current renaming. |
# [24.3.0](elastic/elastic-charts@v24.2.0...v24.3.0) (2020-12-04) ### Bug Fixes * **highlighter:** show default highlighted radius with hidden dots ([opensearch-project#926](elastic/elastic-charts#926)) ([351c20c](elastic/elastic-charts@351c20c)), closes [opensearch-project#679](elastic/elastic-charts#679) * **xy_chart:** improve line joins rendering ([opensearch-project#920](elastic/elastic-charts#920)) ([9a6771c](elastic/elastic-charts@9a6771c)) * point highlight based on geom position and transform ([opensearch-project#934](elastic/elastic-charts#934)) ([196ee8d](elastic/elastic-charts@196ee8d)) ### Features * allow no results component, don't require series ([opensearch-project#936](elastic/elastic-charts#936)) ([6be5c8b](elastic/elastic-charts@6be5c8b)) * improved domain error handling ([opensearch-project#933](elastic/elastic-charts#933)) ([f480054](elastic/elastic-charts@f480054))
Followup, this is coming from the maps client but with forking there exist the issue that could change the expected behavior of the client. Details:It's failing because it can't find information within the provided TMS configurations provided. Within the client there exists this code that executes when
To work around this I was thinking add another configuration to allow for defining the manifest Url for tile maps and file maps, and I believe I was able to update the current maps visualizations but legacy map, ie Workaround proposal:I think in the meantime to resolve this, I think if we can have if we can create a re-direct that points specifically |
Describe the bug
The vega maps visualization only uses the default WMS tile server. If an admin overrides the default, that override is used for "region maps" visualizations but not vega maps visualizations.
To Reproduce
Add to opensearch_dashboards.yml
map.includeOpenSearchMapsService: false
map.tilemap.url: https://tiles.maps.opensearch.org/tiles/{z}/{x}/{y}.png
map.tilemap.options.attribution: "Im a map"
Create a new Vega visualization.
{
$schema: https://vega.github.io/schema/vega/v5.json
config: {
kibana: {type: "map"}
}
data: [
...
Expected behavior
Displayed map should use the tile server, attribution, etc from opensearch_dashboards.yml
OpenSearch Version
1.1.0
Dashboards Version
1.1.0
Plugins
Default installation
Additional context
https://github.com/opensearch-project/OpenSearch-Dashboards/tree/main/src/plugins/vis_type_vega/public/vega_view
The text was updated successfully, but these errors were encountered: