# Poi's in google maps tool

**URL:** <https://community.thunkable.com/t/pois-in-google-maps-tool/3151921>\
**Category:** Questions about Thunkable X\
**Created:** [August 21, 2024, 3:22pm UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921 "2024-08-21T15:22:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![tapionpad4x0](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@tapionpad4x0](https://community.thunkable.com/u/tapionpad4x0)\
**Post date:** [August 21, 2024, 3:22pm UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/1 "2024-08-21T15:22:12Z")

</div>

How to get the map with all the POIs you see in Google Maps (like restaurants, bars and so on) and how to work with this data (to divide them into categories)?

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [August 21, 2024, 7:58pm UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/2 "2024-08-21T19:58:32Z")

</div>

For adding points of interest, you’ll need to use the Places Web API.

> **[Places Library  |  Maps JavaScript API  |  Google for...](https://developers.google.com/maps/documentation/javascript/places)**

Our integrated free API with Google Maps will not offer this functionality.

---

<div class="post-metadata">

**Author:** ![tapionpad4x0](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@tapionpad4x0](https://community.thunkable.com/u/tapionpad4x0)\
**Post date:** [August 22, 2024, 9:01am UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/3 "2024-08-22T09:01:11Z")

</div>

How to use it?

---

<div class="post-metadata">

**Author:** ![brianl](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianl](https://community.thunkable.com/u/brianl)\
**Post date:** [August 23, 2024, 6:03pm UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/4 "2024-08-23T18:03:08Z")

</div>

It will require some advanced knowledge to be able to read through and use the API. You can use either the one linked by Matt or [this one](https://developers.google.com/maps/documentation/places/web-service/nearby-search#try-it).

The way you would have to use it would be to use our [web API blocks](https://docs.thunkable.com/blocks/advanced-app-features/web-api) and add in the information in the block to make a request to get information from the API.

I would start by trying to get a successful call to get data from the API. Then read through the results of the API to figure out what data you want to use. From the API that I linked, it returns the coordinates of the different POI. Then you might want to use those coordinates and our maps component to put markers on each of those coordinates.

---

<div class="post-metadata">

**Author:** ![tapionpad4x0](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@tapionpad4x0](https://community.thunkable.com/u/tapionpad4x0)\
**Post date:** [August 23, 2024, 6:55pm UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/5 "2024-08-23T18:55:33Z")

</div>

I had already done some projects with web API, even with an API created by me, so there is no problem to integrate it, my question was how to use the map component with the web API data you provided me. My job is to make the Google map available with all the points of interest in the world, because the thunkable map component doesn’t have them (at the moment…).

---

<div class="post-metadata">

**Author:** ![brianl](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianl](https://community.thunkable.com/u/brianl)\
**Post date:** [August 23, 2024, 7:09pm UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/6 "2024-08-23T19:09:20Z")

</div>

With the response from the web API, it should return coordinate pairings that you can use with the [create marker block](https://docs.thunkable.com/app-design/ui-components/embed-components/map#functions) to mark where all the POI are. You would have to go region by region as I don’t think it is possible to mark all POI in the world all at once.

---

<div class="post-metadata">

**Author:** ![tapionpad4x0](https://avatars.discourse-cdn.com/v4/letter/t/ea5d25/32.png) [@tapionpad4x0](https://community.thunkable.com/u/tapionpad4x0)\
**Post date:** [August 24, 2024, 10:30am UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/7 "2024-08-24T10:30:12Z")

</div>

Where is the documentation for request all the region places markers at once? How to make them visible only when the user zoom like google maps?

---

<div class="post-metadata">

**Author:** ![brianl](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianl](https://community.thunkable.com/u/brianl)\
**Post date:** [August 26, 2024, 6:38pm UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/8 "2024-08-26T18:38:15Z")

</div>

The documentation for getting all the POI is in the Google Web API Docs (depending on which one you want to use). There aren’t any blocks for tracking when a user zooms. What I would recommend would be to have a “Search in this area” button like when you search for POI in Google Maps. That button can then trigger a new search in the area they are looking in.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [November 24, 2024, 6:39pm UTC](https://community.thunkable.com/t/pois-in-google-maps-tool/3151921/9 "2024-11-24T18:39:07Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
