# Corvid - Retrieve and display multiple Google Map markers from Database

**URL:** <https://forum.wixstudio.com/t/corvid-retrieve-and-display-multiple-google-map-markers-from-database/17352>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [July 16, 2019, 9:07am UTC](https://forum.wixstudio.com/t/corvid-retrieve-and-display-multiple-google-map-markers-from-database/17352 "2019-07-16T09:07:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![justinsa](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/justinsa/32/13300_2.png) [@justinsa](https://forum.wixstudio.com/u/justinsa)\
**Post date:** [July 16, 2019, 9:07am UTC](https://forum.wixstudio.com/t/corvid-retrieve-and-display-multiple-google-map-markers-from-database/17352/1 "2019-07-16T09:07:11Z")

</div>

I am trying to display Multiple Map Markers by referencing my Database of project locations (longitude and latitude as numbers) on my Google Map. Is this possible?

I have written the code (s seen below) which retrieves and displays only the first entry of my Database. How can I get it to display all entries? Thanks.

```javascript
$w("#dataset1").onReady( () => {
 let currentItem = $w("#dataset1").getCurrentItem();
        $w("#googleMaps1").location = {
 "latitude": currentItem.latitude,
 "longitude": currentItem.longitude,
 "description": currentItem.location,
        };
    });

```

---

<div class="post-metadata">

**Author:** ![givemeawhisky](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/givemeawhisky/32/5383_2.png) [@givemeawhisky](https://forum.wixstudio.com/u/givemeawhisky)\
**Post date:** [July 16, 2019, 9:42am UTC](https://forum.wixstudio.com/t/corvid-retrieve-and-display-multiple-google-map-markers-from-database/17352/2 "2019-07-16T09:42:13Z")

</div>

[https://www.wix.com/corvid/forum/wix-tips-and-updates/example-multiple-markers-google-maps?ref=producthunt%2F%2F%2F%2F%2F%2F%2F](https://www.wix.com/corvid/forum/wix-tips-and-updates/example-multiple-markers-google-maps?ref=producthunt%2F%2F%2F%2F%2F%2F%2F)

---

<div class="post-metadata">

**Author:** ![justinsa](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/justinsa/32/13300_2.png) [@justinsa](https://forum.wixstudio.com/u/justinsa)\
**Post date:** [July 16, 2019, 10:27am UTC](https://forum.wixstudio.com/t/corvid-retrieve-and-display-multiple-google-map-markers-from-database/17352/3 "2019-07-16T10:27:49Z")

</div>

Can this not be done just using the standard Wix Google Map box?

---

<div class="post-metadata">

**Author:** ![bjamaspi](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@bjamaspi](https://forum.wixstudio.com/u/bjamaspi)\
**Post date:** [October 13, 2020, 1:10pm UTC](https://forum.wixstudio.com/t/corvid-retrieve-and-display-multiple-google-map-markers-from-database/17352/4 "2020-10-13T13:10:21Z")

</div>

Has anybody figured this out? The multiple markers example works great but there really need to be an easier way to work with this.
