PageRenderTime 16ms CodeModel.GetById 9ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/src/com/google/maps/extras/arcgislink/QueryParameters.as

http://gmaps-utility-library-flash.googlecode.com/
ActionScript | 36 lines | 18 code | 2 blank | 16 comment | 1 complexity | e6c6abcd83c4a38ef351212978246e52 MD5 | raw file
 1/*
 2 * ArcGIS for Google Maps Flash API
 3 *
 4 * License http://www.apache.org/licenses/LICENSE-2.0
 5 */
 6 /**
 7 * @author nianwei at gmail dot com
 8 */ 
 9package com.google.maps.extras.arcgislink
10{
11  /**
12  * Parameters for query operation
13  * Note in/
14  */ 
15  public class QueryParameters
16  {
17    /**
18    * LatLng[], Marker[], Polyline[], Polygon[]
19    */ 
20    public var geometry:Array;
21    public var spatialRelationship:String= ArcGISConstants.SPATIAL_REL_INTERSECTS;
22    public var where:String;
23    public var text:String;
24    public var outFields:Array;
25    public var returnGeometry:Boolean;
26    //public var outSpatialReference:SpatialReference;
27    
28    public function QueryParameters(params:*=null)
29    {
30      if (params){
31        ArcGISUtil.augmentObject(params,this,true);
32      }
33    }
34
35  }
36}