Skip to content

Commit 447dbd6

Browse files
committed
fix: add POWER-OFF marker config and point type
1 parent 059be28 commit 447dbd6

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

includes/class-spotmap-options.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ public static function get_marker_defaults()
7575
'iconShape' => 'marker',
7676
'icon' => 'triangle-exclamation',
7777
],
78+
'POWER-OFF' => [
79+
'iconShape' => 'circle',
80+
'icon' => 'power-off',
81+
],
7882
];
7983
}
8084

src/map-engine/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ export type PointType =
136136
| 'NEWMOVEMENT'
137137
| 'STATUS'
138138
| 'STOP'
139-
| 'POST';
139+
| 'POST'
140+
| 'POWER-OFF';
140141

141142
/** Internal structure for a feed's map layers */
142143
export interface FeedLayer {

0 commit comments

Comments
 (0)