Documentation Center

  • Trial Software
  • Product Updates

serverTitles

Class: WMSLayer

Return titles of unique servers

Syntax

serverTitles = layers.serverTitles()

Description

serverTitles = layers.serverTitles() returns a cell array of titles of unique servers.

Examples

List titles of unique government servers:

layers = wmsfind('*.gov*', 'SearchField', 'serverurl');
titles = layers.serverTitles
sprintf('%s\n', titles{:})

Sample output follows:

High Resolution Nighttime Imagery (Las Vegas)

See Also

Was this topic helpful?