/src/com/google/maps/extras/xmlparsers/kml/HotSpot.as
http://gmaps-utility-library-flash.googlecode.com/ · ActionScript · 42 lines · 31 code · 8 blank · 3 comment · 0 complexity · f20a3e1a4f8663e4844c6d01697ead67 MD5 · raw file
- /* Added by Cecil M. Reid (cmR)
- * cecilmreid@gmail.com
- */
-
-
- package com.google.maps.extras.xmlparsers.kml
- {
- import com.google.maps.extras.xmlparsers.ParsingTools;
-
- public class HotSpot extends KmlObject
- {
- private var _x:Number;
- private var _y:Number;
- private var _xunits:String;
- private var _yunits:String;
-
- public function HotSpot(x:XMLList)
- {
- super(x);
- this._x = ParsingTools.nanCheck(this.x.@x);
- this._y = ParsingTools.nanCheck(this.x.@y);
- this._xunits = ParsingTools.nullCheck(this.x.@xunits);
- this._yunits = ParsingTools.nullCheck(this.x.@yunits);
- }
-
- public function get xx():Number{
- return this._x;
- }
-
- public function get yy():Number{
- return this._y;
- }
-
- public function get xunits():String{
- return this._xunits;
- }
-
- public function get yunits():String{
- return this._yunits;
- }
- }
- }