Jump to content

Google Map API on Squarespace with file references

Recommended Posts

Hi,

I am trying to embed a custom google map created with the Google Maps Javascript API onto a page on my Squarespace website. My code references files in subfolders, mainly a csv file (dataset for the markers) and two png files. How do I add the custom code to my Squarespace page (html, javascript, and css files) as well as the referenced files? I attempted to follow this tutorial as well as put links to the csv & png files on an unlisted page on my site, referencing their url/path in the code as https://www.WEBDOMAIN.com/s/FILENAME.csv, but it was unsuccessful and throws CORS/CORBS Policy errors. Any advice on how to fix this issue is appreciated!

Link to comment
  • Replies 0
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.