# Google Maps IOS

**URL:** https://community.thunkable.com/t/google-maps-ios/27078
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [May 16, 2018, 1:37am UTC](https://community.thunkable.com/t/google-maps-ios/27078 "2018-05-16T01:37:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![lillialuna](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@lillialuna](https://community.thunkable.com/u/lillialuna)
#### Post date: [May 16, 2018, 1:37am UTC](https://community.thunkable.com/t/google-maps-ios/27078/1 "2018-05-16T01:37:44Z")

</div>

\*\* What feature are you requesting?\*\*

Hello, I’ve been having some Google Maps development problems. I am trying to add Google Maps to my app but cannot seem to access some of the basic components such as accelerator. The block menus also are different than the tutorials online. Am I missing something?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 16, 2018, 6:54am UTC](https://community.thunkable.com/t/google-maps-ios/27078/2 "2018-05-16T06:54:26Z")

</div>

Hello lillialuna,

1. What are your difficulties when working with Google Map? You can work with Google Map API through the Web Viewer component by uploading your html-page to it.

2. The component accelerator does not exist in Thunkable X.

3. Recently, the interface of the Thunkable X development environment in the view editor and the block editor has been changed. Therefore, it differs from what is shown in the tutorials online that was created earlier.

---

<div class="post-metadata">

### Author: ![ariel2](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ariel2](https://community.thunkable.com/u/ariel2)
#### Post date: [May 18, 2018, 11:03pm UTC](https://community.thunkable.com/t/google-maps-ios/27078/3 "2018-05-18T23:03:28Z")

</div>

My app requires access to the geolocation of the device. It seems thunkable x does’nt have a way of doing that. If not, will it have?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 19, 2018, 6:14am UTC](https://community.thunkable.com/t/google-maps-ios/27078/4 "2018-05-19T06:14:44Z")

</div>

Try it like this

Code for geolocation.html.

```
<script>
if (navigator.geolocation) {
	navigator.geolocation.getCurrentPosition(getLocation,getError);
}else{
	alert("Geolocation not supported");
}
function getLocation(position){
    var lat = position.coords.latitude;
    var lng = position.coords.longitude;
	alert("latitude: " + lat+"\nlongitude: "+ lng);
}
function getError(err){
	alert("Error code: " + err.code);
}
</script>

```

![geolocation](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/f/cf37667c1587090bff1692cb1107b21af850920b.png)

---

<div class="post-metadata">

### Author: ![ariel2](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@ariel2](https://community.thunkable.com/u/ariel2)
#### Post date: [May 20, 2018, 11:48am UTC](https://community.thunkable.com/t/google-maps-ios/27078/5 "2018-05-20T11:48:29Z")

</div>

Thanks a lot. It works.  
Now, how to get lat/lon info from webViewer into variables in blocks?

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 20, 2018, 12:03pm UTC](https://community.thunkable.com/t/google-maps-ios/27078/6 "2018-05-20T12:03:15Z")

</div>

You can find it [here](http://community.thunkable.com/t/get-latitude-and-longitude-from-adress-geocoding/21678)

This is not exactly what you need. Why do you need this data in blocks? Can further processing be possible on the web side?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:02pm UTC](https://community.thunkable.com/t/google-maps-ios/27078/7 "2024-11-08T12:02:47Z")

</div>


