PageRenderTime 27ms CodeModel.GetById 19ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://gmaps-utility-library-flash.googlecode.com/
ActionScript | 30 lines | 16 code | 3 blank | 11 comment | 1 complexity | 5ba918741df76d8c42748aaaff69356b 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  import com.google.maps.overlays.*;
12  /**
13  * This is a wrapper for google overlay options. Used in cases when the geometry type is unknown (e.g identify results).
14  */ 
15  public class OverlayOptions
16  {
17    public var marker:MarkerOptions;
18    public var polyline:PolylineOptions;
19    public var polygon:PolygonOptions;
20    
21    public function OverlayOptions(params:*=null)
22    {
23      if (params){
24        ArcGISUtil.augmentObject(params, this, false);
25      }
26      
27    }
28
29  }
30}