Link Search Menu Expand Document

Constructor: mediaAreaVenue

Back to constructors index

Represents a location tag attached to a story, with additional venue information.

Attributes:

NameTypeRequiredDescription
coordinatesMediaAreaCoordinatesYesThe size and location of the media area corresponding to the location sticker on top of the story media.
geoGeoPointOptionalCoordinates of the venue
titlestringYesVenue name
addressstringYesAddress
providerstringYesVenue provider: currently only “foursquare” needs to be supported.
venue_idstringYesVenue ID in the provider’s database
venue_typestringYesVenue type in the provider’s database

Type: MediaArea

Example:

$mediaAreaVenue = ['_' => 'mediaAreaVenue', 'coordinates' => MediaAreaCoordinates, 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string'];