The geo microformat

The geo microformat represents a physical location on the planet Earth using latitude and longitude coordinates.

Properties

If a property is not marked as required, the value might be undefined.

Property Description
latitude The latitude of the geographic location, represented as a floating-point number. Required.
longitude The longitude of the geographic location, represented as a floating-point number. Required.

 

Methods

There is one method you can call on the geo microformat.

toString()

Returns the location as a string.

geoString = geo.toString();
Parameters

None.

Return value

The location as a single string.

This uses different formats depending on the type of parent node the geo is included in. Need to figure out what those formats are and why it's done that way.

See also

Document Tags and Contributors

Contributors to this page: teoli, Dikrib, Mgjbot, Kohei, Potappo, Sheppy
Last updated by: Dikrib,