hasMap
A Schema.org Property
- Canonical URL: https://schema.org/hasMap
- Check for open issues.
A URL to a map of the place.
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="https://www.google.com/maps?ie=UTF8&hq&ll=47.1234,11.1234&z=13">Click here for a map.</a>
- </div>
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="https://www.google.com/maps?ie=UTF8&hq&ll=47.1234,11.1234&z=13">Click here for a map.</a>
- </div>