-
Notifications
You must be signed in to change notification settings - Fork 1
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
Enhance Legend Customization for Dynamic Dimension Adjustment and Source Configuration #9
Comments
@codinachssm is this a bug or a feature that the client should implement because the SITNA API does not support it? |
I think it should be implemented in the client, but I would like to know @IDEmenorca 's opinion. |
I would say that this is not a bug because it is not supported by SITNA API, so it should be considered a new feature to implement if needed. |
Priority? |
It works fine for us as it is. Therefore, from our point of view, it's not a priority issue. |
OK, we keep it on standby because it may not need to be implemented. |
@codinachssm I've updated the description of the issue based on your email. Is this a good description of the desired feature? |
Is your feature request related to a problem? Please describe.
Th current version of SITNA API does not allow for customization of the legend's dimensions. This limitation poses challenges for users attempting to adjust the legend size to accommodate various screen sizes or specific preferences.
Describe the solution you'd like
We propose enhancing the Map Viewer functionality to support displaying a legend that can be configured by SITMUN administrators. Specifically, the Viewer should be capable of:
SITMUN administrators should have the flexibility to specify the source of the legend by configuring:
Additionally, administrators should be able to specify any parameters that need to be appended to the URL request (e.g., width, height) or handled by the Map Viewer itself.
Initial configuration values, such as default dimensions and the availability of a GetLegendGraphic operation, could be derived from the WMS capabilities information, specifically from the LegendURL element.
Additional context
Below is an example of the LegendURL element as found in a WMS Capabilities 1.3.0 document, demonstrating how the legend image URL and its dimensions are specified:
The text was updated successfully, but these errors were encountered: