UNPKG

terriajs

Version:

Geospatial data visualization platform.

3,583 lines (956 loc) 180 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Class: MagdaCatalogItem</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Class: MagdaCatalogItem</h1> <section> <header> <h2><span class="attribs"><span class="type-signature"></span></span>MagdaCatalogItem<span class="signature">(terria)</span><span class="type-signature"></span></h2> </header> <article> <div class="container-overview"> <h4 class="name" id="MagdaCatalogItem"><span class="type-signature"></span>new MagdaCatalogItem<span class="signature">(terria)</span><span class="type-signature"></span></h4> <div class="description"> <p>A <a href="CatalogItem.html">CatalogItem</a> that queries a MAGDA server for a dataset or distribution, and then accesses that the as WMS, GeoJSON, etc. depending on what it finds.</p> </div> <h5>Parameters:</h5> <table class="params"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>terria</code></td> <td class="type"> <span class="param-type"><a href="Terria.html">Terria</a></span> </td> <td class="description last"><p>The Terria instance.</p></td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line41">line 41</a> </li></ul></dd> </dl> </div> <h3 class="subsection-title">Extends</h3> <ul> <li><a href="CatalogItem.html">CatalogItem</a></li> </ul> <h3 class="subsection-title">Members</h3> <h4 class="name" id=".defaultSerializers"><span class="type-signature">(static) </span>defaultSerializers<span class="type-signature"> :Object</span></h4> <div class="description"> <p>Gets or sets the set of default serializer functions to use in <a href="CatalogMember.html#serializeToJson">CatalogMember#serializeToJson</a>. Types derived from this type should expose this instance - cloned and modified if necesary - through their <a href="CatalogMember.html#serializers">CatalogMember#serializers</a> property.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line293">line 293</a> </li></ul></dd> </dl> <h4 class="name" id=".defaultUpdaters"><span class="type-signature">(static) </span>defaultUpdaters<span class="type-signature"> :Object</span></h4> <div class="description"> <p>Gets or sets the set of default updater functions to use in <a href="CatalogMember.html#updateFromJson">CatalogMember#updateFromJson</a>. Types derived from this type should expose this instance - cloned and modified if necesary - through their <a href="CatalogMember.html#updaters">CatalogMember#updaters</a> property.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line259">line 259</a> </li></ul></dd> </dl> <h4 class="name" id=".shortHumanReadableTypeNames"><span class="type-signature">(static) </span>shortHumanReadableTypeNames<span class="type-signature"> :Object</span></h4> <div class="description"> <p>Maps catalog item <code>type</code> to a short, human-readable identifier of the type of distribution accessed (e.g. <code>wms</code> maps to <code>WMS</code> and <code>esri-mapServer</code> maps to <code>MapServer</code>).</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line512">line 512</a> </li></ul></dd> </dl> <h4 class="name" id="_memoizedInfoItemsSourceLookup"><span class="type-signature"></span>_memoizedInfoItemsSourceLookup<span class="type-signature"></span></h4> <div class="description"> <p>Lookup table for _sourceInfoItemNames, access through CatalogMember#_infoItemsWithSourceInfoLookup</p> </div> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#_memoizedInfoItemsSourceLookup">CatalogMember#_memoizedInfoItemsSourceLookup</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line196">line 196</a> </li></ul></dd> </dl> <h4 class="name" id="allowAnyDistributionIfDistributionIdNotFound"><span class="type-signature"></span>allowAnyDistributionIfDistributionIdNotFound<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether any supported distribution may be used if both {@see MagdaCatalogItem#datasetId} and {@see MagdaCatalogItem#distributionId} are specified and the {@see MagdaCatalogItem#distributionId} is not found.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line67">line 67</a> </li></ul></dd> </dl> <h4 class="name" id="allowCsv"><span class="type-signature"></span>allowCsv<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this may be a CSV distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line113">line 113</a> </li></ul></dd> </dl> <h4 class="name" id="allowCzml"><span class="type-signature"></span>allowCzml<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this may be a CZML distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line167">line 167</a> </li></ul></dd> </dl> <h4 class="name" id="allowEsriFeatureServer"><span class="type-signature"></span>allowEsriFeatureServer<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this may be an Esri FeatureServer distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line133">line 133</a> </li></ul></dd> </dl> <h4 class="name" id="allowEsriMapServer"><span class="type-signature"></span>allowEsriMapServer<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this may be an Esri MapServer distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line126">line 126</a> </li></ul></dd> </dl> <h4 class="name" id="allowGeoJson"><span class="type-signature"></span>allowGeoJson<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this may be a GeoJSON distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line154">line 154</a> </li></ul></dd> </dl> <h4 class="name" id="allowKml"><span class="type-signature"></span>allowKml<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this may be a KML distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line100">line 100</a> </li></ul></dd> </dl> <h4 class="name" id="allowWfs"><span class="type-signature"></span>allowWfs<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this may be a WFS distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line87">line 87</a> </li></ul></dd> </dl> <h4 class="name" id="allowWms"><span class="type-signature"></span>allowWms<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this may be a WMS distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>true</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line74">line 74</a> </li></ul></dd> </dl> <h4 class="name" id="attribution"><span class="type-signature"></span>attribution<span class="type-signature"> :Credit</span></h4> <div class="description"> <p>Gets or sets an attribution displayed on the map when this catalog item is enabled. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Credit</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#attribution">CatalogItem#attribution</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line85">line 85</a> </li></ul></dd> </dl> <h4 class="name" id="cacheDuration"><span class="type-signature"></span>cacheDuration<span class="type-signature"> :String</span></h4> <div class="description"> <p>Gets or sets the cache duration to use for proxied URLs for this catalog member. If undefined, proxied URLs are effectively cachable forever. The duration is expressed as a Varnish-like duration string, such as '1d' (one day) or '10000s' (ten thousand seconds).</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#cacheDuration">CatalogMember#cacheDuration</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line104">line 104</a> </li></ul></dd> </dl> <h4 class="name" id="canZoomTo"><span class="type-signature"></span>canZoomTo<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Returns true if this item currently has a rectangle to zoom to. Depends on observable properties, and so updates once loaded.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#canZoomTo">CatalogItem#canZoomTo</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line503">line 503</a> </li></ul></dd> </dl> <h4 class="name" id="clampedDiscreteTime"><span class="type-signature"></span>clampedDiscreteTime<span class="type-signature"> :Date</span></h4> <div class="description"> <p>Gets the CatalogItems current time as the discrete time that the CatalogItem has information for. Returns the nearest time in-range if the clock is beyond the range of the intervals specified by the layer. Returns undefined if it is not possible to query the time (i.e. the item doesn't have a clock, availableDates or intervals).</p> <p>See also discreteTime if you want the discrete time that is undefined if the current time is beyond the range of the intervals specified by the item.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Date</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#clampedDiscreteTime">CatalogItem#clampedDiscreteTime</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line368">line 368</a> </li></ul></dd> </dl> <h4 class="name" id="clock"><span class="type-signature"></span>clock<span class="type-signature"> :DataSourceClock</span></h4> <div class="description"> <p>Gets or sets the clock parameters for this data item. If this property is undefined, this data item does not have any time-varying data. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">DataSourceClock</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#clock">CatalogItem#clock</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line129">line 129</a> </li></ul></dd> </dl> <h4 class="name" id="csvDistributionFormat"><span class="type-signature"></span>csvDistributionFormat<span class="type-signature"> :RegExp</span></h4> <div class="description"> <p>Gets or sets a regular expression that, when it matches a distribution's format, indicates that the distribution is a CSV distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">RegExp</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line119">line 119</a> </li></ul></dd> </dl> <h4 class="name" id="currentTime"><span class="type-signature"></span>currentTime<span class="type-signature"> :JulianDate</span></h4> <div class="description"> <p>Gets / sets the CatalogItems current time.</p> <p>This property is an observable version of clock.currentTime, they will always have the same value.</p> <p>When setting the currentTime through this property the correct clock (terria.clock or this.clock) is updated depending on whether .useOwnClock is true or false so that the catalog items state will reflect the new time correctly.</p> <p>The get component of this property is effectively an interface adapter for clock.definitionChanged which changes the structure from an Event when the current time changes to a knockout property which can be observed.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">JulianDate</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#currentTime">CatalogItem#currentTime</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line319">line 319</a> </li></ul></dd> </dl> <h4 class="name" id="customProperties"><span class="type-signature"></span>customProperties<span class="type-signature"> :Object</span></h4> <div class="description"> <p>Gets or sets the dictionary of custom item properties. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#customProperties">CatalogMember#customProperties</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line117">line 117</a> </li></ul></dd> </dl> <h4 class="name" id="czmlDistributionFormat"><span class="type-signature"></span>czmlDistributionFormat<span class="type-signature"> :RegExp</span></h4> <div class="description"> <p>Gets or sets a regular expression that, when it matches a distribution's format, indicates that the distribution is a CZML distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">RegExp</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line173">line 173</a> </li></ul></dd> </dl> <h4 class="name" id="dataCustodian"><span class="type-signature"></span>dataCustodian<span class="type-signature"> :String</span></h4> <div class="description"> <p>Gets or sets a description of the custodian of this data item. This property is an HTML string that must be sanitized before display to the user. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#dataCustodian">CatalogItem#dataCustodian</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line78">line 78</a> </li></ul></dd> </dl> <h4 class="name" id="datasetId"><span class="type-signature"></span>datasetId<span class="type-signature"> :String</span></h4> <div class="description"> <p>Gets or sets the ID of the MAGDA dataset referred to by this catalog item. Either this property is {@see MagdaCatalogItem#distributionId} must be specified. The first distribution of a supported type in this dataset will be used.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line59">line 59</a> </li></ul></dd> </dl> <h4 class="name" id="dataUrl"><span class="type-signature"></span>dataUrl<span class="type-signature"> :String</span></h4> <div class="description"> <p>Gets or sets the URL from which this data item's raw data can be retrieved, or undefined if raw data for this data item is not available. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#dataUrl">CatalogItem#dataUrl</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line274">line 274</a> </li></ul></dd> </dl> <h4 class="name" id="dataUrlType"><span class="type-signature"></span>dataUrlType<span class="type-signature"> :String</span></h4> <div class="description"> <p>Gets or sets the type of the <a href="CatalogItem.html#dataUrl">CatalogItem#dataUrl</a>, or undefined if raw data for this data source is not available. This property is observable. Valid values are:</p> <ul> <li><code>direct</code> - A direct link to the data.</li> <li><code>wfs</code> - A Web Feature Service (WFS) base URL. If <a href="CatalogItem.html#dataUrl">CatalogItem#dataUrl</a> is not<pre class="prettyprint source"><code> specified, the base URL will be this data item's URL.</code></pre></li> <li><code>wfs-complete</code> - A complete, ready-to-use link to download features from a WFS server.</li> <li><code>none</code> - There is no data link.</li> </ul> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#dataUrlType">CatalogItem#dataUrlType</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line294">line 294</a> </li></ul></dd> </dl> <h4 class="name" id="dateFormat"><span class="type-signature"></span>dateFormat<span class="type-signature"> :Object</span></h4> <div class="description"> <p>Options for formatting current time and timeline tic labels. Options are: currentTime // Current time in time slider will be shown in this format. For example &quot;mmmm yyyy&quot; for Jan 2016. timelineTic // Timeline tics will have this label. For example &quot;yyyy&quot; will cause each tic to be labelled with the year.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#dateFormat">CatalogItem#dateFormat</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line198">line 198</a> </li></ul></dd> </dl> <h4 class="name" id="description"><span class="type-signature"></span>description<span class="type-signature"> :String</span></h4> <div class="description"> <p>Gets or sets the description of the item. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#description">CatalogMember#description</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line44">line 44</a> </li></ul></dd> </dl> <h4 class="name" id="discreteTime"><span class="type-signature"></span>discreteTime<span class="type-signature"> :Date</span></h4> <div class="description"> <p>Gets the CatalogItems current time as the discrete time that the CatalogItem has information for. Returns undefined if the clock is beyond the range of the intervals specified by the layer. Returns undefined if it is not possible to query the time (i.e. the item doesn't have a clock, availableDates or intervals).</p> <p>See also clampedDiscreteTime if you want the discrete time that is clamped to the first / last value if the current time is beyond the range of the intervals specified by the item.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Date</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#discreteTime">CatalogItem#discreteTime</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line350">line 350</a> </li></ul></dd> </dl> <h4 class="name" id="displayChoicesBeforeLegend"><span class="type-signature"></span>displayChoicesBeforeLegend<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a flag which determines whether the legend comes before (false) or after (true) the display variable choice. Default false.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#displayChoicesBeforeLegend">CatalogItem#displayChoicesBeforeLegend</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line122">line 122</a> </li></ul></dd> </dl> <h4 class="name" id="distributionId"><span class="type-signature"></span>distributionId<span class="type-signature"> :String</span></h4> <div class="description"> <p>Gets or sets the ID of the MAGDA distribution referred to by this catalog item. Either this property or {@see MagdaCatalogItem#datasetId} must be specified. If {@see MagdaCatalogItem#datasetId} is specified too, and this distribution is not found, <em>any</em> supported distribution may be used instead, depending on the value of {@see MagdaCatalogItem#allowAnyDistributionIfDistributionIdNotFound}.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line51">line 51</a> </li></ul></dd> </dl> <h4 class="name" id="esriFeatureServerDistributionFormat"><span class="type-signature"></span>esriFeatureServerDistributionFormat<span class="type-signature"> :RegExp</span></h4> <div class="description"> <p>Gets or sets a regular expression that, when it matches a distribution's format, indicates that the distribution is an Esri MapServer or FeatureServer distribution. A valid FeatureServer distribution must also have <code>FeatureServer</code> in its URL.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">RegExp</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line147">line 147</a> </li></ul></dd> </dl> <h4 class="name" id="esriMapServerDistributionFormat"><span class="type-signature"></span>esriMapServerDistributionFormat<span class="type-signature"> :RegExp</span></h4> <div class="description"> <p>Gets or sets a regular expression that, when it matches a distribution's format, indicates that the distribution is an Esri MapServer distribution. A valid MapServer distribution must also have <code>MapServer</code> in its URL.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">RegExp</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line140">line 140</a> </li></ul></dd> </dl> <h4 class="name" id="featureInfoTemplate"><span class="type-signature"></span>featureInfoTemplate<span class="type-signature"> :String|Object</span></h4> <div class="description"> <p>Gets or sets a template to display message in a info box. May be a string or an object with template, name and/or partials properties.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> | <span class="param-type">Object</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#featureInfoTemplate">CatalogItem#featureInfoTemplate</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line168">line 168</a> </li></ul></dd> </dl> <h4 class="name" id="forceProxy"><span class="type-signature"></span>forceProxy<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets whether or not this member should be forced to use a proxy. This property is not observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#forceProxy">CatalogMember#forceProxy</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line111">line 111</a> </li></ul></dd> </dl> <h4 class="name" id="geoJsonDistributionFormat"><span class="type-signature"></span>geoJsonDistributionFormat<span class="type-signature"> :RegExp</span></h4> <div class="description"> <p>Gets or sets a regular expression that, when it matches a distribution's format, indicates that the distribution is a GeoJSON distribution.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">RegExp</span> </li> </ul> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_MagdaCatalogItem.js.html">Models/MagdaCatalogItem.js</a>, <a href="Models_MagdaCatalogItem.js.html#line160">line 160</a> </li></ul></dd> </dl> <h4 class="name" id="hasDescription"><span class="type-signature"></span>hasDescription<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Tests whether a description is available, either in the 'description' property or as a member of the 'info' array.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#hasDescription">CatalogMember#hasDescription</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line326">line 326</a> </li></ul></dd> </dl> <h4 class="name" id="hasLegend"><span class="type-signature"></span>hasLegend<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets a value indicating whether this data item has a legend.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#hasLegend">CatalogItem#hasLegend</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_CatalogItem.js.html#line492">line 492</a> </li></ul></dd> </dl> <h4 class="name" id="hideSource"><span class="type-signature"></span>hideSource<span class="type-signature"> :boolean</span></h4> <div class="description"> <p>Indicates that the source of this data should be hidden from the UI (obviously this isn't super-secure as you can just look at the network requests).</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">boolean</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#hideSource">CatalogMember#hideSource</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line174">line 174</a> </li></ul></dd> </dl> <h4 class="name" id="id"><span class="type-signature"></span>id<span class="type-signature"> :String</span></h4> <div class="description"> <p>An optional unique id for this member, that is stable across renames and moves. Use uniqueId to get the canonical unique id for this CatalogMember, which is present even if there is no id.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">String</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#id">CatalogMember#id</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line124">line 124</a> </li></ul></dd> </dl> <h4 class="name" id="info"><span class="type-signature"></span>info<span class="type-signature"> :Array.&lt;Object></span></h4> <div class="description"> <p>Gets or sets the array of section titles and contents for display in the layer info panel. In future this may replace 'description' above - this list should not contain sections named 'description' or 'Description' if the 'description' property is also set as both will be displayed. The object is of the form {name:string, content:string}. Content will be rendered as Markdown with HTML. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Array.&lt;Object></span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#info">CatalogMember#info</a> </li></ul></dd> <dt class="tag-default">Default Value:</dt> <dd class="tag-default"><ul class="dummy"> <li>[]</li> </ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line57">line 57</a> </li></ul></dd> </dl> <h4 class="name" id="infoSectionOrder"><span class="type-signature"></span>infoSectionOrder<span class="type-signature"> :Array.&lt;String></span></h4> <div class="description"> <p>Gets or sets the array of section titles definining the display order of info sections. If this property is not defined, DataPreviewSections's DEFAULT_SECTION_ORDER is used. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Array.&lt;String></span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#infoSectionOrder">CatalogMember#infoSectionOrder</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line64">line 64</a> </li></ul></dd> </dl> <h4 class="name" id="initialMessage"><span class="type-signature"></span>initialMessage<span class="type-signature"> :Object</span></h4> <div class="description"> <p>A message object that is presented to the user when an item or group is initially clicked The object is of the form {title:string, content:string, key: string, confirmation: boolean, confirmText: string, width: number, height: number}. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Object</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogMember.html#initialMessage">CatalogMember#initialMessage</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogMember.js.html">Models/CatalogMember.js</a>, <a href="Models_CatalogMember.js.html#line97">line 97</a> </li></ul></dd> </dl> <h4 class="name" id="isEnabled"><span class="type-signature"></span>isEnabled<span class="type-signature"> :Boolean</span></h4> <div class="description"> <p>Gets or sets a value indicating whether this data item is enabled. An enabled data item appears in the &quot;Now Viewing&quot; pane, but is not necessarily shown on the map. This property is observable.</p> </div> <h5>Type:</h5> <ul> <li> <span class="param-type">Boolean</span> </li> </ul> <dl class="details"> <dt class="inherited-from">Inherited From:</dt> <dd class="inherited-from"><ul class="dummy"><li> <a href="CatalogItem.html#isEnabled">CatalogItem#isEnabled</a> </li></ul></dd> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="Models_CatalogItem.js.html">Models/CatalogItem.js</a>, <a href="Models_Cat