What is the hasMap Schema Property?
According to official Schema.org specifications, the hasMap property provides a URL to a map showing the physical location of an item (such as a Place, LocalBusiness, Restaurant, or MedicalBusiness).
While many webmasters mistakenly paste an iframe embed code or a generic Google Maps search URL, Google's documentation prefers a direct, canonical URL pointing unambiguously to the target map entity.
https://maps.google.com/?cid=YOUR_DECIMAL_CID
Why Generic Maps URLs Hurt Your Local Ranking
When Google's crawler analyzes a schema containing a generic query like google.com/maps/search/dentist+chicago, it cannot determine with certainty which business profile represents the true entity.
By using the permanent CID link, you explicitly state:
- "This website belongs precisely to Google Maps entity #11401689387182079980."
- "All citations, reviews, and structured data on this domain belong to that exact map listing."
Complete Copy-Paste JSON-LD Example
Below is an enterprise-grade LocalBusiness JSON-LD template. Paste this inside the <head> section of your website:
Validation & Verification Steps
After deploying your updated markup, verify the implementation with these two free Google testing tools:
-
Schema.org Validator (validator.schema.org): Checks for syntax errors and validates that your
hasMapURL is a valid absolute URI. -
Google Rich Results Test (search.google.com/test/rich-results): Ensures your
LocalBusinesssnippet qualifies for enhanced Google SERP features and Knowledge Panel integration.