GraffitiSuite Docs
Docs
Point
Loading document parsing libraries...
# Point Class ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | True | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Constructor | latitude as Double <br> longitude as Double | (None) | Creates a new instance of the class. | | Constructor | location as String | (None) | Creates a new instance of the class. | | isCoordinate | (None) | Boolean | Returns true if the point represents coordinates, False for a location string. | | Attributes | Hidden | toJavaScript | | | Attributes | Hidden | toJSON | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | mID | String | | | Attributes | ID | Nil | | | Latitude | Double | Nil | Latitude value. | | Location | string | Nil | Location string that can be resolved to Lat/Lng. | | Longitude | Double | Nil | Longitude value. | ## Examples ### Basic Point ``` var newPoint as new GraffitiMap.Point( 36.320961, -82.341759 ) ```