# How to add polylines and waypoints to my Google Map

**URL:** https://community.thunkable.com/t/how-to-add-polylines-and-waypoints-to-my-google-map/1810262
**Category:** Maps
**Tags:** beginner
**Created:** [March 30, 2022, 6:41pm UTC](https://community.thunkable.com/t/how-to-add-polylines-and-waypoints-to-my-google-map/1810262 "2022-03-30T18:41:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![andos-avlog](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/andos-avlog/32/122340_2.png) [@andos-avlog](https://community.thunkable.com/u/andos-avlog)
#### Post date: [March 30, 2022, 6:41pm UTC](https://community.thunkable.com/t/how-to-add-polylines-and-waypoints-to-my-google-map/1810262/1 "2022-03-30T18:41:42Z")

</div>

Hi, a while back I created a Google Map complete with waypoints and polylines. (See image below).

 ![GMap](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/3/532f91b22d79be9f3ecb4fe3a15d4b4808f8f60c.jpeg)

This map displays some of the Upper Airways over the UK.

On the Airways Screen of my app, I have so far created just user location labels (see 2 images below)

**Device Screen**

 ![GMapScn-Screenshot_2022-03-30-17-37-50-386_com.thunkable.live](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/6/a63c48d530cc1a5c686a4b3a5e61ab1521122f6a.jpeg)

**Blocks**

 ![GMapBlox](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/8/18245d28a55ca1a412cd78fb88074181ea57ac5a.png)

On the design screen ( **AirwScreen** ) I have inserted a map component ( **Map1** ) when I run the Live Test from my device none of the waypoints and polylines are displayed. (Above image).

 ![MapDesign](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/4/64f6f232545cfa4f8048470116d8ef4d8e38cc04.png)

I have entered my Google Map API into the app (See below)

 ![GMapAPI-Screenshot 2022-03-30 17.52.29](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/f/8fe8752a5c4ae58e1de6fa98a2a1182dde2537c0.png)

But there still are polylines or waypoints not showing. (Below)

I also have a Google Sheet containing all the coordinates for each waypoint which makes up each of the Upper Airways (see below)

 ![GMapSheet](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/d/9dfeeea3d45981a1991267ab63c2b9ffb550a004.png)

Okay, now the questions:

**1** ) How do I get my airways to display on the “ **Map1** ”. ?

**2** ) Which data do I need to make this happen?

**3** ) If any, what components am I missing to make this happen?

**4** ) How do I associate each of the waypoint coordinates to **Map1**?

**5** ) How do I get the relevant polylines to connect to the relevant waypoints and set colours their colours.

I do understand that there is a way to design the waypoints which would be useful for the user to recognise the different types of waypoints but I suspect that can be done after the complicated stuff has been done.

**6** ) Does anyone have a solution for this?

I found a link which might have helped but it doesn’t appear to be working. (Link below):

> [@Add Custom Markers and Polylines to your Google Maps Apps (Latest Thunkable Release)](https://community.thunkable.com/t/add-custom-markers-and-polylines-to-your-google-maps-apps-latest-thunkable-release/1482):
>
> Hey Thunkers! Earlier this year, we asked you what features you wanted us to add on [thunkable](http://app.thunkable.com/) this year. Based on your feedback, today, we are excited to release some long-anticipated features for Google Maps that we hope will help you invent even more powerful mapping apps on thunkable like some of the sample ones you see below. [image] \*\*\* Add Custom Markers\*\* \*\*\* Add Polylines\*\* \*\*\* Add Zoom, Rotation and Tilt control\*\* \*\*\* [Updated Documentation](http://thunkable.com/reference/components/visualization.html)\*\* Happy app-ing, Albert on behalf of …

I also wish to make the map interactive for the user to be able to select an airway or waypoint from the Google side menu ( or some sort of menu) upon clicking on there selection, it will highlight either the airway or the waypoint selected, on the map.

Also, if the user clicks on a waypoint or airway on the map an information pop-up will appear (The information will come from the Source Google Sheet).

---

<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: [June 28, 2022, 6:42pm UTC](https://community.thunkable.com/t/how-to-add-polylines-and-waypoints-to-my-google-map/1810262/2 "2022-06-28T18:42:05Z")

</div>

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