Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»

GetCodesCommand

RSS
Modified on Wednesday, 12 October 2011 02:15 PM by 156.75.200.132 Categorized as Commands
The GetCodesCommand fetches code values and caches them for use on the client.


CommandVerb

codes

Parameters

NameTypeDescription
n/astring[]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

NameTypeDescription
ResultDictionary>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

Any Questions or Comments? Email
Some of the icons created by FamFamFam.