How to draw a replay with api?

Hello, I obtained x and y coordinates from the events API. (For example, {“x”: 9918, “y”: -47498}). The response also includes a mapID (2219). However, I’m not sure how to use this information to draw on the map like the replay feature in WCL. First, I don’t know how to get the image file for the map corresponding to mapID 2219. And once I have the image, I don’t know how to represent {“x”: 9918, “y”: -47498} as a point on that image. I would appreciate your help. Thank you.


This is probably better asked in our Discord server, but I don’t believe drawing a map like that is currently available in our API.

Here’s a link to our Discord server: Warcraft Logs


thank you for your kindness!