Dota2 minimap generator
This is a small php/css/html component that parses the building status information from the Defence of the ancients 2 match api and renders a html dota2 minimap showing building status at the end of a match. The html that is produced is responsive and looks great at any size.
Here's an example that uses match id
#Where to get it
The best way to grab the latest version of this is on github. Let me know if you build anything with it or have any questions.
#How to use it
There are two ways to use it.
- load minimap.php with a valid
minimap.php?match_id=5064461346. The best resource for finding a
match_idis either the dota2 match api or dotabuff
- use the simple form on index.php and provide a valid match_id It should be easy enough to integrate it into a dota2 site that already handles parsing match details from the dota2 api. The elegant part is that the html is responsive and the minimap will look nice in any size viewport.