Home > @magiclane/maps-sdk > RouteInstructionBase
RouteInstructionBase class
Signature:
export declare class RouteInstructionBase extends GemAutoreleaseObject Extends: GemAutoreleaseObject
Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
Constructs a new instance of the |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
number | bigint | ||
|
| |||
|
|
string | ||
|
|
string |
Get the exit route instruction text. | |
|
|
string |
Get textual description for the follow road information. | |
|
|
boolean |
Check if follow road information is available. | |
|
|
boolean |
Check if road information is available. | |
|
|
boolean |
Check if signpost information is available. | |
|
|
boolean |
Check if turn information is available. | |
|
|
boolean |
Check if this instruction is of common type. | |
|
|
boolean |
Check if the route instruction is a main road exit instruction. | |
|
|
boolean |
Check if the route instruction is a ferry. | |
|
|
boolean |
Check if the route instruction is a toll road. | |
|
|
number | ||
|
|
number | bigint | ||
|
|
Get the image of the realistic next turn image | ||
|
|
Get remaining travel distance in meters and remaining travel time in seconds. | ||
|
|
Get remaining travel time and distance to the next waypoint. | ||
|
|
RoadInfo[] |
Get road information. | |
|
|
Get the image of the road info | ||
|
|
Get extended signpost details. | ||
|
|
string |
Get textual description for the signpost information. | |
|
|
Get distance to the next turn in meters, time in seconds. | ||
|
|
Get the traveled distance and time. | ||
|
|
Get full details for the turn. | ||
|
|
Get the turn image | ||
|
|
string |
Get textual description for the turn. |
Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
getRealisticNextTurnImage({ size, format, renderSettings, allowResize, }, input) |
Get image for the realistic turn information. | |
|
getRoadInfoImage({ size, format, backgroundColor, allowResize, }, input) |
Get road image. | |
|
Get turn image. |