[go: nahoru, domu]

Skip to content

Commit

Permalink
added troubleshoots for map component
Browse files Browse the repository at this point in the history
  • Loading branch information
clsource committed Nov 6, 2017
1 parent bdd4448 commit 500e61d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,3 +575,24 @@ However on Android you need to set it up using Google Maps API.

<img src='../images/map_permission.png' class='large'>

### Troubleshooting Map

---

** ⚠️ Troubleshoot 1: **

Android should use a Google Maps API Key **issued for Android use**. Using a key issued for Web will not work properly.

---

** ⚠️ Troubleshoot 2: **

If you want to *zoom in* or *zoom out* the map. You should modify the *width* and *height* properties of the *region*. Bigger *width* and *height* means a wider *region* causing a *zoom out*. The *zoom* is calculated by *Jasonette* based on these values.

---

** ⚠️ Troubleshoot 3: **

If you want to obtain the current user latitude and longitude you should use [$geo.get](actions.md#geoget) action.

---

0 comments on commit 500e61d

Please sign in to comment.