Home > @magiclane/maps-sdk > Debug > getServiceName
Debug.getServiceName() method
Retrieve the name of a service given its ID.
Signature:
static getServiceName(id: number): string;Parameters
Parameter | Type | Description |
|---|---|---|
id | number | The ID of the service |
Returns:
string
The name of the service corresponding to the provided ID