-2

Please excuse this amateur question. I'm building a web app and would like to extract Eventbrite's JSON data sorted by address onto my embedded Google maps.

Right now I have the data in my console using fetch. How can I display this data on Google Map as markers?

Any help is appreciated.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
tphan
  • 9
  • 4

1 Answers1

-1

Start here: https://developers.google.com/maps/documentation/javascript/markers

The code sample provided in this documentation is formatted for GeoJSON but you should be able to use the nodes from your EventBrite JSON if they provide coordinates. If coordinates are not part of your source JSON you will need to make a separate API call to Google Maps API Geocoding Service

tshimkus
  • 1,173
  • 2
  • 17
  • 24