Skip to content

About

CoCreate actions for the browser Geolocation API.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

CoCreate-geolocation

CoCreate actions for the browser Geolocation API.

Install

yarn add @cocreate/geolocation

Or load the browser bundle from https://cdn.cocreate.app/geolocation/latest/CoCreate-geolocation.min.js.

Usage

Use the geoLocation action methods getCurrentPosition, watchPosition, and clearWatch. The browser may request permission and requires a secure context.

<button actions="geoLocation.getCurrentPosition">Get location</button>

See demo/index.html and the documentation.

About

CoCreate actions for the browser Geolocation API.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages