Skip to content

Instantly share code, notes, and snippets.

@justinyoo justinyoo/position-options.ts Secret
Created Mar 16, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.