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

http://gmaps-utility-library-flash.googlecode.com/ · ActionScript · 34 lines · 16 code · 2 blank · 16 comment · 0 complexity · ec1937f0d2b9e1b906e025390107f611 MD5 · raw file

  1. /*
  2. * Copyright 2008 Google Inc.
  3. * Licensed under the Apache License, Version 2.0:
  4. * http://www.apache.org/licenses/LICENSE-2.0
  5. */
  6. package com.google.maps.extras.xmlparsers.kml
  7. {
  8. import com.google.maps.extras.xmlparsers.Namespaces;
  9. import com.google.maps.extras.xmlparsers.ParsingTools;
  10. import com.google.maps.extras.xmlparsers.XmlElement;
  11. /**
  12. * Abstract element extended by Point, LineString, LinearRing, Polygon,
  13. * MultiGeometry (not implemented), and Model (not implemented).
  14. *
  15. * @see http://code.google.com/apis/kml/documentation/kmlreference.html#geometry
  16. */
  17. public class Geometry extends KmlObject
  18. {
  19. /**
  20. * Constructor for class.
  21. *
  22. * @param x
  23. */
  24. public function Geometry(x:XMLList)
  25. {
  26. super(x);
  27. }
  28. public override function toString():String {
  29. return "Geometry: " + super.toString();
  30. }
  31. }
  32. }