If you write guides, run a fan site or a blog, you can now put TH.GL on your own pages: interactive maps you can embed with one line of code, and item tooltips that appear when your readers hover a link.
Everything is free, also for commercial sites. No sign-up, no API key.
Copy-paste code, live demos and all options are on the Embeds & Tooltips page.
Embed Any Map
Every map on TH.GL can be embedded: markers, tooltips, zoom and pan, without our menus or ads.
The easiest way:
- Open the map on its game site and set it up the way you want: move to the right spot, zoom in, and turn on only the markers your readers need.
- Open the ⋯ button in the map controls (or right-click the map) and choose Embed this map.
- Copy the code into your page.
The embed starts exactly at your view and shows only the markers you had turned on. A guide about one boss or one resource route no longer has to send readers to a map full of everything else.
Your own markers and drawings: if you are signed in, you can also embed a custom filter with your own markers and drawings. Open My Filters, open the filter's menu and choose Embed on a website.
Item Tooltips for Your Links
Add one line to your page:
<script async src="https://www.th.gl/tooltips.js"></script>
From then on, every link to a TH.GL database page shows a tooltip with the icon, name, type, description and key stats when someone hovers it. Your links stay normal links, so readers can still click through to the full entry.
A few optional settings:
- Show the item icon in front of each link
- Color links by item rarity
- Replace the link text with the item name
- Pick a language for the tooltips
Tooltips work for every game with a TH.GL database and in every language the game site has. The script sets no cookies and does no tracking.
The One Thing I Ask
Keep the small TH.GL link under embedded maps. It is how readers find the full map, and it is the only thing I ask in return.
Wikis like Fandom and wiki.gg don't allow outside iframes or scripts, so a plain link to the map or the database entry is the way to go there.
Questions or Ideas?
If you use the embeds or tooltips somewhere, I'd love to see it. Questions, missing options or ideas are welcome in the Discord.
— DevLeon