This is a base object that contains all you can do about Areas.
constructor
Constructor
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| Reference |
InternalOpenGateAPI |
❌ |
to the API object. |
withColor(color)
Set the color attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| color |
string |
❌ |
required field |
Retorna
Tip
withDescription(description)
Set the description attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| description |
string |
❌ |
required field |
Retorna
Tip
withEntities(entities)
Set the entities attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| entities |
array |
❌ |
required field |
Retorna
Tip
withGeometry(type, coordinates)
Set the geometry attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| type |
string |
❌ |
required field |
| coordinates |
array |
❌ |
required field |
Retorna
Tip
withIdentifier(identifier)
Set the identifier attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| identifier |
string |
❌ |
required field |
Retorna
Tip
withName(name)
Set the name attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| name |
string |
❌ |
required field |
Retorna
Tip
withOrder(order)
Set the order attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| order |
number |
❌ |
required field |
Retorna
Tip
withOrganization(organization)
Set the organization attribute
Parámetros
| Nombre |
Tipo |
Opcional |
Descripción |
| organization |
string |
❌ |
required field |
Retorna
Tip