Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
1/4
A simple and clean tool for using Web Geolocation API.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2022.3.4f1 | Compatible | Compatible | Compatible |
Description
This tool is a wrapper of the Web Geolocation API. This tool is also available for download using package manager: com.agava.webgeolocation.
Demo
https://webgeolocation.website.yandexcloud.net
How to use
Add namespace using Agava.WebGeolocation
Use the methods of the static class WebGeolocation
- GetCurrentPosition(onSuccessCallback, onErrorCallback, options) - get the current position of the device
- WatchPosition(onSuccessCallback, onErrorCallback, options) - register a handler function that will be called automatically each time the position of the device changes
- ClearWatch(watchId) - unregister location/error monitoring handlers previously installed using WatchPosition
You can use Samples folder as a guide.
Related keywords
WebGL Geolocation
(not enough ratings)
3 users have favourite this asset
(3)
FREE
10 views in the past week
License agreement
Standard Unity Asset Store EULALicense type
File size
17.5 KB
Latest version
1.0.1
Latest release date
Mar 20, 2024
Original Unity version
2022.3.4
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Language
Feedback
Partners Program
PartnersUSD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR