NSMutableDictionary(SGGeoJSONObject)


Ease the pain of storing SimpleGeo GeoJSON values.

Extends Class: NSMutableDictionary
Declared In: GeoJSON+NSDictionary.h



Methods

-setCoordinates:

Sets the GeoJSONObject stored at key coordinates.

-setCreated:

Sets the value stored at key created.

-setExpires:

Sets the value stored at key expires.

-setFeatures:

Sets the GeoJSONObject stored at key features.

-setGeometry:

Sets the GeoJSONObject stored at key geometry.

-setId:

Sets the value stored at key id.

-setProperties:

Sets the GeoJSONObject stored at key properties.

-setType:

Sets the value stored at key type.


setCoordinates:


Sets the GeoJSONObject stored at key coordinates.

- (void) setCoordinates:(NSArray*)coordinates; 
Parameters
coordinates

The GeoJSONObject to store.


setCreated:


Sets the value stored at key created.

- (void) setCreated:(double)created; 
Parameters
created

The value to store.

Discussion

This is a value specific to SimpleGeo. The GeoJSON spec (http://geojson.org/geojson-spec.html) allows key/values to be defined at the top-level of the object.


setExpires:


Sets the value stored at key expires.

- (void) setExpires:(double)expires; 
Parameters
expires

The value to store.

Discussion

This is a value specific to SimpleGeo. The GeoJSON spec (http://geojson.org/geojson-spec.html) allows key/values to be defined at the top-level of the object.


setFeatures:


Sets the GeoJSONObject stored at key features.

- (void) setFeatures:(NSArray*)features; 
Parameters
features

The value to store.

Discussion

This is a value specific to SimpleGeo. The GeoJSON spec (http://geojson.org/geojson-spec.html) allows key/values to be defined at the top-level of the object.


setGeometry:


Sets the GeoJSONObject stored at key geometry.

- (void) setGeometry:(NSDictionary*)geometry; 
Parameters
geometry

The GeoJSONObject to store.


setId:


Sets the value stored at key id.

- (void) setId:(NSString*)id; 
Parameters
id

The value to store.

Discussion

This is a value specific to SimpleGeo. The GeoJSON spec (http://geojson.org/geojson-spec.html) allows key/values to be defined at the top-level of the object.


setProperties:


Sets the GeoJSONObject stored at key properties.

- (void) setProperties:(NSDictionary*)properties; 
Parameters
properties

The GeoJSONObject to store.


setType:


Sets the value stored at key type.

- (void) setType:(NSString*)type; 
Parameters
type

The value to store.

© SimpleGeo Last Updated: 03/31/2010