-
-
Save justinyoo/6afc687c7dc5f304411a78d7c7c5b6e1 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
<template> | |
<div class="hello"> | |
<h1>{{ msg }}</h1> | |
<div> | |
<button type="button" v-on:click="getLocation">Get Location</button> | |
<ul> | |
<li>Latitude: {{ latitude }}</li> | |
<li>Longitude: {{ longitude }}</li> | |
<li>Altitude: {{ altitude }}</li> | |
</ul> | |
</div> | |
<h2>Essential Links</h2> | |
... | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment