Here you can find a overview of examples on how to use demoinfocs-golang.
ℹ Example code may not be production ready - specifically error handling and such is done in a simplified way and should not be used in critical systems as-is.
GetMapRadar fetches the radar image for a specific map version from
`https://radar-overviews.csgo.saiko.tech/<map>/<crc>/radar.png`.
Panics if any error occurs.
Map represents a CS:GO map. It contains information required to translate
in-game world coordinates to coordinates relative to (0, 0) on the provided map-overviews (radar images).
TranslateScale translates and scales in-game world-relative coordinates to (0, 0) relative coordinates.
The outputs are pixel coordinates for the radar images found in the maps folder.