PageRenderTime 19ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://gmaps-utility-library-flash.googlecode.com/
ActionScript | 25 lines | 16 code | 1 blank | 8 comment | 3 complexity | 78fc2c2611f56da23d744ce94b910135 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  public class IdentifyResults
12  {
13    public var results:Array=[];
14    public function IdentifyResults(params:*=null, sr:SpatialReference=null, ovOpts:OverlayOptions=null)
15    {
16      if (params && params.results){
17        var res:* = params.results;
18        for (var i:int = 0; i< res.length; i++){
19          results.push(new IdentifyResult(res[i],sr,ovOpts));
20        }
21      }
22    }
23
24  }
25}