Welcome
Guest
, you are in:
<root>
EnterpriseLibrary
FDOT Security STS
FDOT_Application_Model
GisFramework
•
Login
FDOT Wiki
GisFramework
¶
Gis Framework
Fdot Wiki
Random Page
All Pages
Categories
Search the wiki
»
Back
FDOT.Map.executeCommand()
Modified on Thursday, 09 February 2012 04:04 PM
by 156.75.200.226
Categorized as
Commands
,
Javascript
The create method created the map object on the page and configures it for use. The onReady callback is executed once the map has completed it's initialization. For more information about commands, see [Commands]. {toc} ==Parameters== {| class="tablesorter" ! Name !! Type !! Required !! Description |- | command || String || Yes || The name of the command to execute |- | parameter || object || Yes || The parameter object to pass to the command. The format varies per command. |- | callback || Function || No || The callback function to execute once the command has finished executing. The return value from the command (if any) will be passed to the callback function |} ==Examples== NOTE: These examples are based on the gev application. Other applications may expose a different set of commands and have different data sources making these examples invalid. ====Zoom to Roadway Id==== (((@@ javascript FDOT.Map.executeCommand("zr", { value: '55010000', highlight: true });@@))) ====Execute Query Example==== (((@@ javascript FDOT.Map.executeCommand('query', {"ClientData": { "Key":"FOO", "Title": "Test query", "Id":1, "Caption":"This is the table's caption." }, "Options": { "FeatureType":{"Id":"gev-dynamic|1"}, "QueryCriteria": { "Attribute": { "Name":"CONTYDOT" }, "Value":"26", "ComparisonType":0 }, "SecondaryCriteria": [ { "Attribute": { "Name":"LGHTCOND" }, "Value":"01", "ComparisonType":0, "LogicalOperator":0 }, { "Attribute": { "Name":"WEATCOND" }, "Value":"01", "ComparisonType":0, "LogicalOperator":0 } ], "GeometryCriteria": { "Geometry": { "Xmin":-9191487.6328293085, "Xmax":-9146480.03070931, "Ymin":3423668.6900953464, "Ymax":3484832.8673353465 } } }}, function(a) { var queryResult = a.Result; //Do Something!!!!! });;@@))) ==See Also== {Incoming}
Meta Keywords:
Meta Description:
Change Comment:
Any Questions or Comments? Email
GIS Framework Development Team
Some of the icons created by
FamFamFam
.