PageRenderTime 18ms CodeModel.GetById 13ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/src/com/google/maps/extras/xmlparsers/kml/StyleMap.as

http://gmaps-utility-library-flash.googlecode.com/
ActionScript | 28 lines | 19 code | 6 blank | 3 comment | 1 complexity | 28009fdbc34ddbb7f18d5fdad20576ec MD5 | raw file
 1/* Added by Cecil M. Reid (cmR)
 2 * cecilmreid@gmail.com	
 3*/
 4
 5
 6package com.google.maps.extras.xmlparsers.kml
 7{
 8	public class StyleMap extends StyleSelector
 9	{
10		private var _pairs:Array;
11		
12		public function StyleMap(x:XMLList)
13		{
14			super(x);
15			
16			this._pairs = new Array();
17		 	var i:XML;
18			for each (i in this.x.kml::Pair) {
19				this._pairs.push(new com.google.maps.extras.xmlparsers.kml.Pair(XMLList(i)));
20			}
21		}
22		
23		public function get pairs():Array{
24			return this._pairs;
25		}
26		
27	}
28}