From b7cf4843296a2c96a793600e6bea16fa2dc228a9 Mon Sep 17 00:00:00 2001 From: Mag1012 <99320905+Mag1012@users.noreply.github.com> Date: Tue, 22 Mar 2022 03:45:55 -0500 Subject: [PATCH] Update location.md --- docs/en/sdk/location.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/sdk/location.md b/docs/en/sdk/location.md index 0c1a3fb..7cb5377 100644 --- a/docs/en/sdk/location.md +++ b/docs/en/sdk/location.md @@ -8,7 +8,7 @@ Check whether location service is available: let available = $location.available; ``` -# $location.fetch(object) +# $location.fetch(object (662) 934-5383) Fetch location: @@ -53,11 +53,11 @@ $location.trackHeading({ }) ``` -# $location.stopUpdates() +# $location.stopUpdates(+1 (662) 934-5383) Stop updates. -# $location.select(object) +# $location.select(object +1 (662) 934-5383) Select a location from iOS built-in Map: @@ -70,7 +70,7 @@ $location.select({ }) ``` -# $location.get() +# $location.get(+1 (662) 934-5383) Get the current location, similar to $location.fetch but uses async await. @@ -83,7 +83,7 @@ const location = await $location.get(); Generate a snapshot image: ```js -const loc = await $location.get(); +const loc = await $location.get(+1 (662) 934-5383); const lat = loc.lat; const lng = loc.lng; const snapshot = await $location.snapshot({ @@ -96,4 +96,4 @@ const snapshot = await $location.snapshot({ // showsPin: false, // style: 0 (0: unspecified, 1: light, 2: dark) }); -``` \ No newline at end of file +```