Jump to content

Adding Map to Site

Recommended Posts

https://pumpkin-chimes-c9bl.squarespace.com/

password: south

Hi! My client is wanting a simple map of the southern US, and wants the states to be clickable to link to external sites. Someone mentioned this site, where you upload your own image and can add links. Then, the site will spit out a code. However, there are no instructions for this code- where do I put it? I tried adding in a code block, and tried to embed, but no luck. Any tips? Down below is an example

<!-- Image Map Generated by http://www.image-map.net/ -->
<img src="usa-southeast-map-2x.jpeg" usemap="#image-map">

<map name="image-map">
    <area target="" alt="FL" title="FL" href="www.example.com" coords="1033,1410,1046,1474,1168,1461,1301,1558,1426,1504,1521,1594,1595,1688,1574,1780,1684,2007,1786,2124,1870,2063,1873,1912,1819,1767,1788,1647,1740,1489,1709,1433" shape="poly">
    <area target="" alt="GA" title="GA" href="www.example.com" coords="1253,870,1329,1400,1717,1415,1786,1255,1515,857" shape="poly">
    <area target="" alt="SC" title="SC" href="www.example.com" coords="1538,864,1794,1232,2054,1002,1839,877,1694,829,1944,913,1651,852,1651,831" shape="poly">
</map>

of what the code looks like. 

Edited by kaydotjpg
Link to comment
  • Replies 1
  • Views 199
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

11 minutes ago, kaydotjpg said:

My client is wanting a simple map of the southern US, and wants the states to be clickable to link to external sites. However, there are no instructions for this code- where do I put it?

You can add the code to the site using a Code Block.

However, before you add the code, you'll need to upload the image (that contains the map) to your Squarespace site and then modify the img src in the code so that it uses the URL of the image you uploaded.

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

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.