The GetCodesCommand fetches code values and caches them for use on the client.
CommandVerb¶
codes
Parameters
Name | Type | Description |
---|
n/a | string[] | Is an array of string and is the codes passed in by client to execute. |
Code Sample
FDOT.Map.executeCommand("codes", ["county","district"],
function(result) {
alert(JSON.stringify(result));
}
);
Returns
Name | Type | Description |
---|
Result | Dictionary> | A dictionary containing code lists for the requested code collections. |
|_Success (true/false)
|_Message
|_Result
|_CollectionName (e.g. county)
|_DotCode[]
|_ColumnDescription
|_ColumnName (e.g. county)
|_Description (e.g. Alachua)
|_Value (e.g. 26)
See Also