Location with 'hasMap'

Helping business show up on Google Maps


One of the most important factors in search, especially if you are a local business, is to show up properly in Google Maps and have the correct location listed. The best way to do that using Schema is to properly markup your Google Map URL and other business information.

Using URL Schema:

Schema location with 'hasMap':
<div>
<span>Example Company Name</span>
<!-- Place the Map code in the Places (LocalBusiness) section, not PostalAddress -->
<a href="https://maps.google.com/maps?cid=YOURCIDNUMBER" target="_blank">View Map</a>
</div>
JSON-LD Example Code Snippet:
{ 
"@context": "http://www.schema.org", 
"@type": "LocalBusiness", 
"name": "Example Company Name",
"hasMap": "https://maps.google.com/maps?cid=YOURCIDNUMBER" 
} 
}

Using Expanded Map Schema:

Microdata Example Code Snippet:
<div>
<span>Example Company Name</span>
<!-- Place the Map code in the Places (LocalBusiness) section, not PostalAddress -->
<span>

<a href="http://yourvenuemapsurl.com" target="_blank">View Map</a>
</span>
</div>
JSON-LD Example Code Snippet
{ 
"@context": "http://www.schema.org", 
"@type": "LocalBusiness", 
"name": "Example Company Name", 
"hasMap": { 
"@type": "Map", 
"mapType": "VenueMap", 
"url": "http://yourvenuemapsurl.com" 
} 
} 
}

Share this Post