Class GeoMashupObject
This type represents an object Geo Mashup can place on the map.
It has no constructor, but is instantiated as an object literal.
Custom properties can be added, but some are present by default.
Defined in: geo-mashup.dev.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
<static> |
GeoMashupObject.author_name
The name of the object author
|
<static> |
GeoMashupObject.categories
Deprecated, use terms.
|
<static> |
GeoMashupObject.icon
The default icon to use for the object
|
<static> |
GeoMashupObject.lat
Latitude
|
<static> |
GeoMashupObject.lng
Longitude
|
<static> |
GeoMashupObject.object_id
A unique identifier for the object
|
<static> |
GeoMashupObject.object_name
The type of object: post, user, comment, etc.
|
<static> |
GeoMashupObject.terms
The object's terms by taxonomy, e.g.
|
<static> |
GeoMashupObject.title
|
Field Detail
<static>
{String}
GeoMashupObject.author_name
The name of the object author
<static>
{Array}
GeoMashupObject.categories
Deprecated, use terms. The object's category IDs if any.
<static>
{GeoMashupIcon}
GeoMashupObject.icon
The default icon to use for the object
<static>
{Number}
GeoMashupObject.lat
Latitude
<static>
{Number}
GeoMashupObject.lng
Longitude
<static>
{String}
GeoMashupObject.object_id
A unique identifier for the object
<static>
{String}
GeoMashupObject.object_name
The type of object: post, user, comment, etc.
<static>
{Object}
GeoMashupObject.terms
The object's terms by taxonomy, e.g. { "tax1": [ "2", "5" ], "tax2": [ "1" ] }
<static>
{String}
GeoMashupObject.title