# Interface: MapInterface (/nqtr/index/interfaces/MapInterface)



Defined in: [src/interface/navigation/MapInterface.ts:4](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/MapInterface.ts#L4)

## Extends [#extends]

* `MapBaseInternalInterface`

## Properties [#properties]

### activities [#activities]

\> **activities**: [`ActivityInterface`](/nqtr/index/interfaces/ActivityInterface)\[]

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:31](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L31)

The activities associated with this class, filtered based on their scheduling.

#### Inherited from [#inherited-from]

`MapBaseInternalInterface.activities`

***

### activitiesIds [#activitiesids]

\> `readonly` **activitiesIds**: `string`\[]

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:27](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L27)

All the ids of the activities associated with this class. Compared to [activities](/nqtr/index/interfaces/LocationInterface#activities), they are not filtered based on their scheduling.

#### Inherited from [#inherited-from-1]

`MapBaseInternalInterface.activitiesIds`

***

### id [#id]

\> `readonly` **id**: `string`

Defined in: [src/interface/navigation/MapInterface.ts:10](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/MapInterface.ts#L10)

The id of the map.

#### Inherited from [#inherited-from-2]

`MapBaseInternalInterface.id`

***

### locations [#locations]

\> `readonly` **locations**: [`LocationInterface`](/nqtr/index/interfaces/LocationInterface)\[]

Defined in: [src/interface/navigation/MapInterface.ts:15](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/MapInterface.ts#L15)

Get all locations in the map.

#### Returns [#returns]

The locations in the map.

#### Inherited from [#inherited-from-3]

`MapBaseInternalInterface.locations`

## Methods [#methods]

### addActivity() [#addactivity]

\> **addActivity**(`activity`, `options?`): `void`

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:13](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L13)

Connects the activity to the class.

#### Parameters [#parameters]

##### activity [#activity]

`string` | [`ActivityInterface`](/nqtr/index/interfaces/ActivityInterface)

The activity to connect to the class.

##### options? [#options]

[`ActiveScheduling`](/nqtr/index/interfaces/ActiveScheduling)

#### Returns [#returns-1]

`void`

#### Inherited from [#inherited-from-4]

`MapBaseInternalInterface.addActivity`

***

### clearExpiredActivities() [#clearexpiredactivities]

\> **clearExpiredActivities**(): `void`

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:23](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L23)

Removes the useless activities.

#### Returns [#returns-2]

`void`

#### Inherited from [#inherited-from-5]

`MapBaseInternalInterface.clearExpiredActivities`

***

### getStorageProperty() [#getstorageproperty]

\> `protected` **getStorageProperty**\<`T`>(`propertyName`, `idToUse?`): `T` | `undefined`

Defined in: node_modules/@drincs/pixi-vn/dist/StoredClassModel-uMifeNzV.d.ts:56

Get a property from the storage.

#### Type Parameters [#type-parameters]

##### T [#t]

`T` = `StorageElementType`

#### Parameters [#parameters-1]

##### propertyName [#propertyname]

`string`

The name of the property to get.

##### idToUse? [#idtouse]

`string`

The id of the instance to get the property.

#### Returns [#returns-3]

`T` | `undefined`

The value of the property. If the property is not found, returns undefined.

#### Default [#default]

```ts
this.id
```

#### Inherited from [#inherited-from-6]

`MapBaseInternalInterface.getStorageProperty`

***

### migrateOldStorage() [#migrateoldstorage]

\> `protected` **migrateOldStorage**(`oldCategoryId?`): `void`

Defined in: node_modules/@drincs/pixi-vn/dist/StoredClassModel-uMifeNzV.d.ts:37

#### Parameters [#parameters-2]

##### oldCategoryId? [#oldcategoryid]

`string`

#### Returns [#returns-4]

`void`

#### Inherited from [#inherited-from-7]

`MapBaseInternalInterface.migrateOldStorage`

***

### removeActivity() [#removeactivity]

\> **removeActivity**(`activity`): `void`

Defined in: [src/interface/navigation/NavigationAbstractClass.ts:19](https://github.com/DRincs-Productions/nqtr/blob/db22fe9e7612d547ff25befcc444cf095348917d/src/interface/navigation/NavigationAbstractClass.ts#L19)

Disconnects the activity from the class.

#### Parameters [#parameters-3]

##### activity [#activity-1]

`string` | [`ActivityInterface`](/nqtr/index/interfaces/ActivityInterface)

The activity to disconnect from the class.

#### Returns [#returns-5]

`void`

#### Inherited from [#inherited-from-8]

`MapBaseInternalInterface.removeActivity`

***

### setStorageProperty() [#setstorageproperty]

\> `protected` **setStorageProperty**\<`T`>(`propertyName`, `value`): `void`

Defined in: node_modules/@drincs/pixi-vn/dist/StoredClassModel-uMifeNzV.d.ts:49

Update a property in the storage.

#### Type Parameters [#type-parameters-1]

##### T [#t-1]

`T`

The type of the value to set. (Deprecated, it is not necessary to specify the type of the value, it will be inferred from the value)

#### Parameters [#parameters-4]

##### propertyName [#propertyname-1]

`string`

The name of the property to set.

##### value [#value]

`StorageElementType`

The value to set. If is undefined, the property will be removed from the storage.

#### Returns [#returns-6]

`void`

#### Inherited from [#inherited-from-9]

`MapBaseInternalInterface.setStorageProperty`
