-
Notifications
You must be signed in to change notification settings - Fork 46
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
Support overriding maps config from OSD config yml file #202
Support overriding maps config from OSD config yml file #202
Conversation
Signed-off-by: Junqiu Lei <[email protected]>
Signed-off-by: Junqiu Lei <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #202 +/- ##
==========================================
- Coverage 87.64% 87.42% -0.22%
==========================================
Files 6 6
Lines 178 175 -3
Branches 24 24
==========================================
- Hits 156 153 -3
Misses 16 16
Partials 6 6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved with a minor comment
(cherry picked from commit b180af9)
(cherry picked from commit b180af9)
(cherry picked from commit b180af9) Co-authored-by: Junqiu Lei <[email protected]>
(cherry picked from commit b180af9) Co-authored-by: Junqiu Lei <[email protected]>
@@ -23,9 +23,6 @@ export { | |||
PLUGIN_NAME, | |||
}; | |||
|
|||
export const MAP_VECTOR_TILE_BASIC_STYLE = 'https://tiles.maps.opensearch.org/styles/basic.json'; | |||
export const MAP_GLYPHS = 'https://tiles.maps.opensearch.org/fonts/{fontstack}/{range}.pbf'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we have to move font stack to config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It moved to config.ts with the default value so that the url can be overridden configured from OSD config url
Signed-off-by: Junqiu Lei [email protected]
Description
Allow user to override maps service url configuration from OpenSearch-Dashboard config yml file by adding:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.