PageRenderTime 35ms CodeModel.GetById 19ms RepoModel.GetById 1ms 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. package com.google.maps.extras.xmlparsers.kml
  5. {
  6. public class StyleMap extends StyleSelector
  7. {
  8. private var _pairs:Array;
  9. public function StyleMap(x:XMLList)
  10. {
  11. super(x);
  12. this._pairs = new Array();
  13. var i:XML;
  14. for each (i in this.x.kml::Pair) {
  15. this._pairs.push(new com.google.maps.extras.xmlparsers.kml.Pair(XMLList(i)));
  16. }
  17. }
  18. public function get pairs():Array{
  19. return this._pairs;
  20. }
  21. }
  22. }