You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to avoid the getCapabilities when possible I suggest a procedure to retrieve the list of the styles.
If the layer is from a WMS, we already have these information. We will save the list in the layer's info inside the map.
If the layer is from a CSW, we don't have the styles list. In some application we provide the Capabilities URL in the CSWRecord, and if possible (from GeoServer's CSW) that is the layer's specific capabilities, so the lightest version possible.
So the user will see this:
The user can type the style name inside the textbox to search in the list (if present) or to insert the style name.
If he clicks on the refresh button the list of the available styles will be refreshed using the capabilities url retrieved from the CSW (if present) or trying to generate it from the WMS URL.
In case of error (via timeout or other) the user will be notified but he is allowed anyway to insert the style manually.
As a plus, If legend URL is available, also the legend should be visible in this window, when a style is selected.
offtherailz
added a commit
to offtherailz/MapStore2
that referenced
this issue
Nov 3, 2016
Enable the "style" tab in the layers properties window
The text was updated successfully, but these errors were encountered: