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

http://gmaps-utility-library-flash.googlecode.com/ · ActionScript · 24 lines · 16 code · 5 blank · 3 comment · 0 complexity · eaa2d3d69c775e0261deec9e1133234f 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. import com.google.maps.extras.xmlparsers.ParsingTools;
  7. public class LineStyle extends ColorStyle
  8. {
  9. private var _width:Number;
  10. public function LineStyle(x:XMLList)
  11. {
  12. super(x);
  13. this._width = ParsingTools.nanCheck(this.x.kml::width);
  14. }
  15. public function get width():Number{
  16. return this._width;
  17. }
  18. }
  19. }