ReverseGeocoderForUnity
CountryReverseGeocoder package for Unity.
Install / Use
/learn @hk1ll3r/ReverseGeocoderForUnityREADME
ReverseGeocoderForUnity
Reverse Geocoder for Unity allows you to look up world coordinates (latitude, longitude) and get the country / US state the query point falls into. The code is offline and performs no network calls.
The code is based off Wibci.CountryReverseGeocode.
The library can be used with custom data. For example you could gather data for provinces of countries other than the US and use it with this library. The sample .json files for US and world countries are included in this package.
Why not use Wibci.CountryReverseGeocode directly?
-
Less code: That project is a general C# project, with all the NUnit tests and a gen project. Not suitable for inclusion in a Unity project. This project is way smaller and contians the minimal set of files from the original package. It reduces the binary build file of your game.
-
Basic Unity integration: This package adds a thin MonoBehavoiur wrapper around the main service class for use with Unity. The showcase project (this) includes a sample Unity scene that performs reverse Geocode queries.
-
This package also gets around a build problem in Unity by removing the large class data initializers and loading the data at runtime from .json files.
Installation
:warning: This package has a dependency on Newtonsoft.json for Unity. Install that first.
Install via Git URLs
Add this git URL in Unity's package manager.
https://github.com/hk1ll3r/ReverseGeocoderForUnity
Install via Traditional .unitypackage File
Releases contain the ReverseGeocoderForUnity.unitypackage.
Install via OpenUPM
openupm add com.nosuchstudio.reversegeocoder
Install via Unity Asset Store
This package is available on Unity Asset Store: (http://u3d.as/1WT5).
License
This package is licensed under The MIT License (MIT)
Copyright © 2020 Hoss Shah (hk1ll3r) https://github.com/hk1ll3r/ReverseGeocoderForUnity
See full copyrights in LICENSE.md inside repository
Related Skills
node-connect
341.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.4kCommit, push, and open a PR
