Class: Location

.models. Location

A class representing a Location

new Location( [data])

Create a new Location
Parameters:
Name Type Argument Description
data Object <optional>
The data to use for this Location object
Properties
Name Type Argument Description
abbreviation String <optional>
An abbreviation for this location, formatted as an Abbreviation.
access Object <optional>
An Object describing the access protocols for this location, formatted as an Access object.
address Object <optional>
An Object describing a postal address for this location, formatted as an Address.
dateCreated Object | String <optional>
The date and optionally time that this Location data was originally created, as a Date object or date string.
dateModified Object | String <optional>
The date and optionally time that this Location data was last modified, as a Date object or date string.
geoJSON Object <optional>
A GeoJSON Object containing geospatial data about this location. Must be formatted as valid GeoJSON.
name Object The name of this Location, formatted as a MultiLangString.
notes Array <optional>
An array of notes about this location. Each item should be formatted as a Note object.
references Array <optional>
An array of bibliographic references about this location. Each item should be formatted as a Reference object.
tags Object <optional>
An Object or Map containing tags for this location, formatted as a Tags object.
url String <optional>
A URL where the JSON data for this location can be downloaded, as a URI.
Properties:
Name Type Description
abbreviation String An abbreviation for this location, as a String.
access Access An Object describing the access protocols for this location, as an Access object.
address Address An Object describing a postal address for this location, as an Address object.
dateCreated Date The date and optionally that this Location data was originally created, as a Date object.
dateModified Date The date and optionally that this Location data was last modified, as a Date object.
geoJSON Object A GeoJSON Object containing geospatial data about this location
name MultiLangString The name of this location, as a MultiLangString.
notes Array An array of notes about this location. Each item is a Note object.
references Array An array of bibliographic freferences about this location. Each item is a Reference object.
tags Tags A Map object containing tags for this location, as a Tags object.
url String The URL where this location data can be downloaded in JSON format.