# Uploading Map Markers from Firebase

**URL:** <https://community.thunkable.com/t/uploading-map-markers-from-firebase/607950>\
**Category:** Questions about Thunkable X\
**Created:** [June 11, 2020, 1:56am UTC](https://community.thunkable.com/t/uploading-map-markers-from-firebase/607950 "2020-06-11T01:56:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobsunscreen](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bobsunscreen/32/85667_2.png) [@bobsunscreen](https://community.thunkable.com/u/bobsunscreen)\
**Post date:** [June 11, 2020, 1:56am UTC](https://community.thunkable.com/t/uploading-map-markers-from-firebase/607950/1 "2020-06-11T01:56:55Z")

</div>

Hi everyone, I have coded my app to upload longitudes, latitudes, titles, and descriptions to Firebase. Unfortunately, I can’t seem to figure out how to pull this information from Firebase and convert it into map markers. Could you please help me out? Here is my code to upload this information:

 ![Screen Shot 2020-06-10 at 9.52.00 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/1/71d67aec76df81fcb7c7fcc65500f540a4863173.png)

And here what Firebase looks like after a couple of markers were uploaded:

 ![Screen Shot 2020-06-10 at 9.52.30 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/9/b9f0069667434e43ac16172bf16bda18a0151c4e.png)

---

<div class="post-metadata">

**Author:** ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)\
**Post date:** [June 11, 2020, 5:00am UTC](https://community.thunkable.com/t/uploading-map-markers-from-firebase/607950/2 "2020-06-11T05:00:31Z")

</div>

Your Firebase variable structure is a List of Objects. You need to use the "in list \_ get \_ " block to select (note first in list will be the ‘0’ entre and second is ‘1’… etc) and then use the “get property \_ of object” block to extract the relevant values you wanted.

---

<div class="post-metadata">

**Author:** ![bobsunscreen](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bobsunscreen/32/85667_2.png) [@bobsunscreen](https://community.thunkable.com/u/bobsunscreen)\
**Post date:** [June 11, 2020, 1:30pm UTC](https://community.thunkable.com/t/uploading-map-markers-from-firebase/607950/3 "2020-06-11T13:30:02Z")

</div>

Thanks @gobassky for your response! I’m not sure I completely understand… This is what I coded to upload one map marker but it doesn’t seem to be working:

![Screenshot (101)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/43f0a8f1b53c622534606cbd0901f3eea61376d9.png)

---

<div class="post-metadata">

**Author:** ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)\
**Post date:** [June 12, 2020, 7:32am UTC](https://community.thunkable.com/t/uploading-map-markers-from-firebase/607950/4 "2020-06-12T07:32:08Z")

</div>

I think Firebase is unable to process one item of a list variable as your “get” block suggested. You might want to put Key as “map markers” as text. Then you use “in list \_ get” and “get property object” blocks to extract the info you wanted.

Btw, if you use “cloud map markers” you do not need to use the “realtime db get” block. I will do something like this:

 ![Clipboard05](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/c/4c15255016de144360a792eb612694cc86827cbd.jpeg)

oops forgot to put the 1 X … latitude and 1 x long… presumably to convert from text to numbers.

---

<div class="post-metadata">

**Author:** ![bobsunscreen](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bobsunscreen/32/85667_2.png) [@bobsunscreen](https://community.thunkable.com/u/bobsunscreen)\
**Post date:** [June 12, 2020, 12:16pm UTC](https://community.thunkable.com/t/uploading-map-markers-from-firebase/607950/5 "2020-06-12T12:16:43Z")

</div>

Oh, okay. Thanks a lot for your help!

---

<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, 11:27am UTC](https://community.thunkable.com/t/uploading-map-markers-from-firebase/607950/6 "2024-11-08T11:27:07Z")

</div>


