-
-
Save justinyoo/99379235de41a5708c200ec4a9c288f4 to your computer and use it in GitHub Desktop.
Getting Geolocation on Mobile Devices using Vue.js + TypeScript + ASP.NET Core
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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