Creates an instance of a descriptor for describing content from a MapDotNet UX REST map service.
Gets map image background color.
string
CSS style string for the map image background color.
Gets bleed ratio for the layer associated with this descriptor.
number
The bleed ratio.
Gets image type associated with this descriptor, either 'png', 'png8', or 'jpg'.
string
The image type associated with this descriptor.
Checks whether or not the map background is transparent.
boolean
Whether or not the map background is transparent.
Gets a layer's fill color as a CSS style string or as a SQL expression.
The MapDotNet map layer ID.
string
Either the CSS style string or the SQL expression, according to how the layer's fill color was set.
Gets a layer's outline color and thickness.
The MapDotNet map layer ID.
{ color: string; thickness: number; }
JavaScript object of the form {color, thickness} where color is the CSS style string of the outline color and thickness is the outline thickness in pixels.
Gets a layer's visibility.
The MapDotNet map layer ID.
boolean
Whether or not the layer is visible.
Gets the current layer where clause.
The MapDotNet map layer ID.
string
The current where clause. If no where clause is in use, this will return an empty string.
Returns the current separator for the layer where clause in the query string.
string
The current seperator.
Gets the optional map cache name.
string
The map cache name.
Gets the map's cache setting, which is one of 'None', 'ReadOnly', 'ReadWrite', 'ForceWrite', and 'Default.'
string
The map's cache setting.
Gets the map ID.
string
The map ID.
Gets a tag which is used to modify the request URIs to avoid browser caching
string
The map's tag.
Determines whether the map is flagged to use the quadkey as its map cache name.
boolean
Whether or not the map has been flagged to use the quadkey as its map cache name.
Gets the REST service version.
string
The REST service version.
Sets the map image background color.
Alpha level.
Red level.
Green level.
Blue level.
Sets the bleed ratio. Bleeds greater than 1.0 will fetch content beyond the edge of the tile extents (this is useful for point features).
The desired bleed ratio, between 1.0 and 2.0.
Gets image type associated with this descriptor to one of 'png', 'png8', or 'jpg'.
The image type associated which should be associated with this descriptor.
Sets a layer's fill color.
The MapDotNet map layer ID.
Alpha level.
Red level.
Green level.
Blue level.
Sets a layer's fill color as a SQL expression.
The MapDotNet map layer ID.
The SQL expression to select a row's fill color.
Sets a layer's outline color and thickness.
The MapDotNet map layer ID.
Alpha level.
Red level.
Green level.
Blue level.
Outline thickness in pixels.
Sets a layer's visibility.
The MapDotNet map layer ID.
Whether or not the layer should be visible.
Add or replace the where clause for a layer. The where clause is a SQL expression used to filter rows.
The MapDotNet map layer ID.
The desired SQL where expression.
Sets a separator character for the layer where clause expression in the query string. This is set to ',' by default, which is consistent with SQL.
The desired seperator, which should be a single character.
Sets the optional map cache name.
The desired map cache name.
Gets the map's cache setting to one of 'None', 'ReadOnly', 'ReadWrite', 'ForceWrite', and 'Default.'
The desired cache setting for the map.
Sets the flag to suspend descriptor change notifications. If set true, all changes to this descriptor will not cause the map to redraw. Setting to false will enable redraws and immediately force a redraw.
Whether or not descriptor change notifications should be enabled.
Sets the map's tag, which is used modify request URIs to avoid browser caching.
The desired tag.
Sets the flag that uses the quadkey as its map cache name.
Whether or not the map should be flagged to use the quadkey as its map cache name.
Sets the REST service version.
The version number.