PageRenderTime 21ms CodeModel.GetById 13ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://gmaps-utility-library-flash.googlecode.com/
ActionScript | 28 lines | 16 code | 4 blank | 8 comment | 3 complexity | 64a6c2163435090a1fedf436d78510fa 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 */ 
 9
10package com.google.maps.extras.arcgislink
11{
12  import com.google.maps.overlays.MarkerOptions;
13  
14  public class GeocodeResults
15  {
16    public var candidates:Array=[];
17    public function GeocodeResults(params:*, sr:SpatialReference=null)
18    {
19      if (params && params.candidates){
20        for (var i:int = 0; i< params.candidates.length; i++){
21          candidates.push(new GeocodeResult(params.candidates[i],sr));
22        }
23      }
24        
25    }
26
27  }
28}