# Mapbox: including geojson sources and layers to a map

**URL:** <https://community.weweb.io/t/mapbox-including-geojson-sources-and-layers-to-a-map/10248>\
**Category:** How do I?\
**Tags:** map\
**Created:** [August 14, 2024, 5:02pm UTC](https://community.weweb.io/t/mapbox-including-geojson-sources-and-layers-to-a-map/10248 "2024-08-14T17:02:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dougst](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@dougst](https://community.weweb.io/u/dougst)\
**Post date:** [August 14, 2024, 7:11pm UTC](https://community.weweb.io/t/mapbox-including-geojson-sources-and-layers-to-a-map/10248/2 "2024-08-14T19:11:38Z")

</div>

SOLVED

> [@\[solved\] Mapbox Plugin - how do I bind sources / featurecollections](https://community.weweb.io/t/solved-mapbox-plugin-how-do-i-bind-sources-featurecollections/2989):
>
> I am using the mapbox plugin and following the heatmap example from their page [here](https://docs.mapbox.com/mapbox-gl-js/example/heatmap-layer/): i have. added the dataSource like this return [{ id: "earthquakes", type: "geojson", data: { type: "FeatureCollection", features: [{ type: "Feature", geometry: { type: "Point", coordinates: [-122.4194, 37.7749], }, properties: { name: "Location 1", description: "This is the first location…

---

_[View the full topic](https://community.weweb.io/t/mapbox-including-geojson-sources-and-layers-to-a-map/10248)._
