Greasy Fork

Localized map and map labels for Geoguessr

Replaces default map and map labels on Geoguessr with localized ones.

目前为 2022-05-21 提交的版本。查看 最新版本

作者
geoguessr_anon
评分
0 0 0
版本
1.5.0
创建于
2022-05-21
更新于
2022-05-21
大小
6.2 KB
许可证
WTFPL
适用于

Lets you change your map language and region on GeoGuessr.

USEFUL LINKS
List of Google Maps API language codes can be found here (determines the language of labels on your map):
https://developers.google.com/maps/faq#languagesupport

List of Google Maps API region codes can be found here (determines the regional variation of your map):
https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
Note: Use the tags with type 'region'

NOTES
If you change language settings during a game, you'll need to refresh the page before the changes show.
If you're playing competitive or something, this could potentially be seen as cheating, so keep that in mind, and okay it with whomever beforehand. :)
I've only tested this using Tampermonkey/Firefox, YMMV with other browsers/userscript plugins (GM_webRequest is not amazingly documented).

CHANGELOG
1.4:
- Should now work on all gamemodes.
- Should now work with all geoguessr UI languages (though I think they might have removed the option entirely as I can't find it to test).
- Simplified configuration somewhat.

1.4.1:
- Works with the new map version (coulda had the new version the entire time, now I think about it).
- Should now work without needing to F5 after entering a game from some pages.

1.5.0:
- No longer requires an API key to be supplied.
- Now has a configuration mechanism.
- Now has a fancy button in the top-left (I know it's not completely identical to the native buttons, but I'm a novice and it's close enough)
- Uploaded to Greasy Fork, no more ugly pastebins!

To-do:
- More elegant way to restrict it to GeoGuessr.
-- It might run on other pages that have google maps iframes due to the @match for the google maps API, which seems to be required to get GM_webRequest to work.
-- Right now it aborts the script if it detects the page it's running on isn't GeoGuessr, but the script still technically ran something.