GraffitiSuite Docs
Docs
Route
Loading document parsing libraries...
# Route Class ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | True | True | ### Desktop | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | TravelModes | Driving <br> Bicycling <br> Transit <br> Walking <br> TwoWheeler | Supported modes of travel. | | UnitSystems | Imperial <br> Metric | Supported distance measurement units. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Sub | Constructor | (None) | Creates a new instance of the class. | | Attributes | Hidden | toJavaScript | | | Attributes | Hidden | toJSON | | | Sub | Update | (None) | Triggers an update on the map. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | mDestination | GraffitiMap.Point | | | Attributes | mID | String | | | Attributes | mOrigin | GraffitiMap.Point | | | Attributes | mParent | GraffitiUpdateInterface | | | Attributes | APIKey | String | | | Attributes | ID | Nil | | | AutoFocus | Boolean | False | When True, this route will be automatically focused on the map. | | AvoidFerries | Boolean | Nil | | | AvoidHighways | Boolean | Nil | | | AvoidTolls | Boolean | Nil | | | Destination | GraffitiMap.Point | Nil | | | Editable | Boolean | Nil | | | Origin | GraffitiMap.Point | Nil | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | = | | | Private | As | = | | | Private | As | = | | | Private | As | = | | | Private | As | Nil | | | ProvideAlternatives | Boolean | Nil | | | ResolveNames | Boolean | False | When True the map will attempt to resolve location names to world coordinates. | | ShowStepsInSidebar | Boolean | True | Determines whether the route steps will be displayed in a sidebar on the map. | | StrokeColor | Color | Nil | | | StrokeWeight | Integer | Nil | | | Tag | Variant | Nil | Developer storage | | TravelMode | TravelModes | Nil | | | UnitSystem | UnitSystems | Nil | Measurement unit system to use for calculation and display. | | waypoints() | GraffitiMap.Directions.Waypoint | Nil | Waypoints along the route. |