private Dictionary<string, string> GetParameters(SpatialOperateParameters parameters)
{
Dictionary<string, string> dictionary = new Dictionary<string, string>();
string method = "spatialOperate";
dictionary.Add("method", method);
dictionary.Add("mapName", parameters.MapName);
Dictionary<string, string> dict = new Dictionary<string, string>();
dict.Add("mapName", parameters.MapName);
dict.Add("sourceGeometry", ServerGeometry.ToJson(parameters.SourceGeometry));
dict.Add("operatorGeometry", ServerGeometry.ToJson(parameters.OperatorGeometry));
dict.Add("spatialOperationType", ((int)parameters.SpatialOperationType).ToString());
dictionary.Add("params", Bridge.CreateParams(method, dict));
return dictionary;
}