Create a gist now

Instantly share code, notes, and snippets.

Getting Geolocation on Mobile Devices using Vue.js + TypeScript + ASP.NET Core
class GpsPositionOptions implements PositionOptions {
public constructor (enableHighAccuracy?: boolean, timeout?: number, maximumAge?: number) {
this.enableHighAccuracy = enableHighAccuracy;
this.timeout = timeout;
this.maximumAge = maximumAge;
public enableHighAccuracy?: boolean;
public timeout?: number;
public maximumAge?: number;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment