hasMap
A Schema.org Property
- Canonical URL: https://schema.org/hasMap
- Check for open issues.
A URL to a map of the place.
Used on these types
| Supersedes |
|---|
maps |
Examples
Example 1
Copied
Example notes or example HTML without markup.
<h1>ACME Hotel Innsbruck</h1> <span>A beautifully located business hotel right in the heart of the alps. Watch the sun rise over the scenic Inn valley while enjoying your morning coffee.</span> <a href="/?originalUrl=https%3A%2F%2Fschema.org%2F%26%2334%3Bhttps%3A%2F%2Fwww.google.com%2Fmaps%3Fie%3DUTF8%26amp%3Bhq%26amp%3Bll%3D47.1234%2C11.1234%26amp%3Bz%3D13%26%2334%3B%26gt%3BClick%2520here%2520for%2520a%2520map.%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fdiv%26gt%3B%253C%2Fpre">
Example encoded as Microdata embedded in HTML.
<div itemscope itemtype="https://schema.org/Hotel"> <h1><span itemprop="name">ACME Hotel Innsbruck</span></h1> <span itemprop="description">A beautifully located business hotel right in the heart of the alps. Watch the sun rise over the scenic Inn valley while enjoying your morning coffee.</span> <a itemprop="hasMap" href="/?originalUrl=https%3A%2F%2Fschema.org%2F%26%2334%3Bhttps%3A%2F%2Fwww.google.com%2Fmaps%3Fie%3DUTF8%26amp%3Bhq%26amp%3Bll%3D47.1234%2C11.1234%26amp%3Bz%3D13%26%2334%3B%26gt%3BClick%2520here%2520for%2520a%2520map.%26lt%3B%2Fa%26gt%3B%26lt%3B%2Fdiv%26gt%3B%253C%2Fpre">