v1_0_0.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* Copyright (c) 2006-2013 by OpenLayers Contributors (see authors.txt for
  2. * full list of contributors). Published under the 2-clause BSD license.
  3. * See license.txt in the OpenLayers distribution or repository for the
  4. * full text of the license. */
  5. /**
  6. * @requires OpenLayers/Protocol/WFS/v1.js
  7. * @requires OpenLayers/Format/WFST/v1_0_0.js
  8. */
  9. /**
  10. * Class: OpenLayers.Protocol.WFS.v1_0_0
  11. * A WFS v1.0.0 protocol for vector layers. Create a new instance with the
  12. * <OpenLayers.Protocol.WFS.v1_0_0> constructor.
  13. *
  14. * Inherits from:
  15. * - <OpenLayers.Protocol.WFS.v1>
  16. */
  17. OpenLayers.Protocol.WFS.v1_0_0 = OpenLayers.Class(OpenLayers.Protocol.WFS.v1, {
  18. /**
  19. * Property: version
  20. * {String} WFS version number.
  21. */
  22. version: "1.0.0",
  23. /**
  24. * Constructor: OpenLayers.Protocol.WFS.v1_0_0
  25. * A class for giving layers WFS v1.0.0 protocol.
  26. *
  27. * Parameters:
  28. * options - {Object} Optional object whose properties will be set on the
  29. * instance.
  30. *
  31. * Valid options properties:
  32. * featureType - {String} Local (without prefix) feature typeName (required).
  33. * featureNS - {String} Feature namespace (optional).
  34. * featurePrefix - {String} Feature namespace alias (optional - only used
  35. * if featureNS is provided). Default is 'feature'.
  36. * geometryName - {String} Name of geometry attribute. Default is 'the_geom'.
  37. */
  38. CLASS_NAME: "OpenLayers.Protocol.WFS.v1_0_0"
  39. });