local icons = asset.syncedResource({
  Name = "Icons",
  Type = "HttpSynchronization",
  Identifier = "icons",
  Version = 1
})

local marker = {
  Identifier = "target-marker",
  Name = "Target Marker",
  Type = "ScreenSpaceImageLocal",
  TexturePath = icons .. "target.png"
}

asset.onInitialize(function()
  openspace.addScreenSpaceRenderable(marker)
end)

asset.onDeinitialize(function()
  openspace.removeScreenSpaceRenderable(marker)
end)
