Module
Shape
        Shape ( type, coords )
    
    Defines a shape 
  | 
Method Summary
| Returns | Name | Description | 
|---|---|---|
String | _type() | The type of ejs object. For internal use only. | 
Object | coordinates(c) | Sets the coordinates for the shape definition. Note, the coordinates are not validated in this api. Please see GeoJSON and ElasticSearch documentation for correct coordinate definitions. | 
Object | radius(r) | Sets the radius for parsing a circle Shape. | 
    
String | toJSON() | Retrieves the internal script object. This is typically used by
            internal API functions so use with caution. | 
    
Object | type(t) | Sets the shape type. Can be set to one of: point, linestring, polygon, multipoint, envelope, or multipolygon. | 
Method Detail
coordinates
        Object coordinates ( c )
    
    Sets the coordinates for the shape definition.  Note, the coordinates
            are not validated in this api.  Please see GeoJSON and ElasticSearch
            documentation for correct coordinate definitions. 
  | 
radius
        Object radius ( r )
    
    Sets the radius for parsing a circle  Shape.
  | 
toJSON
        String toJSON ( )
    
    Retrieves the internal  script object. This is typically used by
            internal API functions so use with caution.
  | 
type
        Object type ( t )
    
    Sets the shape type.  Can be set to one of:  point, linestring, polygon,
            multipoint, envelope, or multipolygon. 
  |