Completed implementation

This commit is contained in:
Pax1601
2023-09-04 19:01:50 +02:00
parent ede245a37d
commit f2de4cd34c
4 changed files with 2 additions and 25 deletions

View File

@@ -214,8 +214,6 @@ export class Weapon extends CustomMarker {
/***********************************************/
onAdd(map: Map): this {
super.onAdd(map);
/* If this is the first time adding this unit to the map, remove the temporary marker */
getMap().removeTemporaryMarker(new LatLng(this.#position.lat, this.#position.lng));
return this;
}