EMS : Object Index

[ Whereis® API Home ] [ JSON API Home ]

Requests and responses involve the repeated exchange of particular objects and data types. The parameters of those objects are described in this section.

Commonly used objects may be grouped into five overarching types: Data Types, Address Types, Geometry Types, Mapping Types, and Return Types.

Object

Object Type

Description

address

Address

Provides a structured address definition

bounds

Data

Identifies an area by reference to its top left and bottom right points, articulated as four separate values

circle

Geometric

Defines a circle in terms of pixels, centred on a <point>

ellipse

Geometric

Defines an ellipse in terms of pixels, centred on a <point>

encodedgeometry

Return

Returned by the system in response to an Optimised route by handle request. Defines a polyline using offsets from the first point rather than the complete longitude and latitude coordinates for each point

geocode

Return

Returned by the system, particularly in response to geocode and reverse-geocode requests, a geocode wraps an address object and provides additional information about it.

icon

Mapping

Defines an image that can be overlaid on the map

mapData

Mapping

An array of datasets, each representing a group of geometric or mapping objects to be rendered on the map

marker

Mapping

Wraps an icon and defines its position on the map

multipolygon

ReturnReturned in a geometry level detail response

oval

Geometric

Defines a shape similar to an ellipse, but by reference to distance across the ground

point

Data

Identifies a map location by reference to its longitude and latitude

polygon

Geometric

Defines an area as an array of rings

polyline

Geometric

Defines a line as an array of <point> objects

rankedpoint

Return

Returned in an array in response to a rank request. Defines a point in terms of travel time and distance from a supplied reference point.

route

Return

Returned in response to a route or route-handle request. Describes a route in two ways: as a set of navigational instructions and in terms of its map geometry

street

Address

Defines a street by its name, suffix, and type

style

Mapping

Defines the appearance of a single set of geometric objects specified in <mapData>

viewport

Return

Returned in response to a viewport request. Defines the precise bounds returned by an equivalent map request