updateLayers
Update layer properties
Description
[
returns an array of updatedLayer,index] = updateLayers(server,layer)WMSLayer objects and updates the layer
properties with values from the web map server, server. The
WMSLayer array layer must contain only one
unique ServerURL. The updateLayers function
removes layers no longer available on the server. The logical array
index contains true for each available
layer.
Examples
Input Arguments
Output Arguments
Tips
updateLayers accesses the Internet to update the properties.
Occasionally, a WMS server is unavailable, or several minutes elapse before the
properties are updated.
Version History
Introduced before R2006a
