Changeset 186


Ignore:
Timestamp:
Apr 26, 2011, 6:32:28 PM (9 years ago)
Author:
jmckenna
Message:

add missing functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/api/zoo-feature.txt

    r185 r186  
    66Vector features use the ZOO.Geometry classes as geometry description.
    77
    8 Functions and Properties       
    9 ------------------------
     8Properties     
     9----------
    1010
    1111.. list-table::
    12    :widths: 30 50
     12   :widths: 12 50
    1313   :header-rows: 1
    1414
     
    2323   * - :ref:`bounds <bounds>`
    2424     - {ZOO.Bounds} The box bounding that feature's geometry, that property can be set by an ZOO.Format object when deserializing the feature, so in most cases it represents an information set by the server.
     25
     26Functions       
     27---------
     28
     29.. list-table::
     30   :widths: 15 50
     31   :header-rows: 1
     32
     33   * - NAME
     34     - DESCRIPTION
     35   * - :ref:`ZOO.Feature <ZOO.Feature>`
     36     - Create a vector feature.
     37   * - :ref:`destroy <destroy>`
     38     - nullify references to prevent circular references and memory leaks
     39   * - :ref:`clone <clone>`
     40     - Create a clone of this vector feature.
     41   * - :ref:`move <move>`
     42     - Moves the feature and redraws it at its new location
     43   
    2544     
    2645**Properties**
     
    4867  it represents an information set by the server.
    4968
     69**Functions**
     70       
     71.. _ZOO.Feature:
     72
     73ZOO.Feature
     74  Create a vector feature.
     75
     76
     77  *Parameters*
     78 
     79  | ``geometry`` :ref:`{ZOO.Geometry} <api-zoo-geometry>` The geometry that this feature represents.
     80  | ``attributes {Object}`` An optional object that will be mapped to the attributes property.
     81 
     82.. _destroy:   
     83 
     84destroy
     85  ::
     86 
     87    destroy: function()
     88
     89  nullify references to prevent circular references and memory leaks 
     90 
     91.. _clone:     
     92 
     93clone   
     94  ::
     95 
     96    clone: function ()
     97
     98  Create a clone of this vector feature.  Does not set any non-standard properties.
     99
     100  *Returns*
     101
     102  :ref:`{ZOO.Feature} <api-zoo-feature>` An exact clone of this vector feature. 
     103 
     104.. _move:       
     105 
     106move   
     107  Moves the feature and redraws it at its new location
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png