GeoCoordinates

(Difference between revisions)

Jump to: navigation, search

m (?Example)
m (?Example)
Line 16: Line 16:
 
  <meta itemprop="latitude" content="37.7793" />
 
  <meta itemprop="latitude" content="37.7793" />
 
  <meta itemprop="latitude" content="-122.4192" />
 
  <meta itemprop="latitude" content="-122.4192" />
  +
</div>
  +
</source>
  +
  +
or
  +
  +
<source lang="html5">
  +
<div itemscope itemtype="http://schema.org/GeoCoordinates">
  +
<span itemprop="latitude" content="37.7793" />
  +
<span itemprop="latitude" content="-122.4192" />
 
</div>
 
</div>
 
</source>
 
</source>

Revision as of 13:07, 29 June 2011

File:GeoCoordinates.png

GeoCoordinates UML Diagram
Supertypes = Thing, Intangible, StructuredValue
Subtypes = none
Inherited properties = description:Text, name:Text, image:URL, url:URL
Properties = elevation🙁Number or Text),latitude🙁Number or Text), longitude🙁Number or Text)
Defined by = http://schema.org/GeoCoordinates
Install RuleTheWeb! the Firefox extension using Schema.org annotations!

Contents

Description

The geographic coordinates of a place, address, …

Example

When I’m travel in San Francisco I plan to visit the Roots Restaurant at The Orchard Garden Hotel and I would like to use my smartphone to get a GPS-based route. So, it would be very useful if the restaurant web site will have markup concerning its geographical location.

<div itemscope itemtype="http://schema.org/GeoCoordinates">  <meta itemprop="latitude" content="37.7793" />  <meta itemprop="latitude" content="-122.4192" /> </div>

or

<div itemscope itemtype="http://schema.org/GeoCoordinates">  <span itemprop="latitude" content="37.7793" />  <span itemprop="latitude" content="-122.4192" /> </div>

Personal tools

Namespaces

Variants

Actions

Navigation

Toolbox