Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active January 17, 2018 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/f5e2cb4af3bc36f80a330e939861d787 to your computer and use it in GitHub Desktop.
Save matthieu-D/f5e2cb4af3bc36f80a330e939861d787 to your computer and use it in GitHub Desktop.
<ion-card>
<ion-card-content>
<div v-if="geolocation.latitude">
You are located at: {{geolocation.latitude}}, {{geolocation.longitude}}
</div>
<div v-else-if="loadingPosition">
Acquiring your position
</div>
<div v-else>
Tap the button
</div>
</ion-card-content>
</ion-card>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment