Module: cercaliagl/service/Pois


Classes

Pois

Type Definitions

PoisOptions{Object}

Properties:
Name Type Argument Description
bounds module:cercaliagl/Bounds~Bounds | undefined <optional>

Bounds to search categories inside

buffer number | undefined <optional>

Buffer size for search

categories Array.<string> | undefined

List of categories to obtain. The 'pois' option must be null.

gridsize number | undefined <optional>

Gridsize

height number | undefined <optional>

Height in pixels.

pois Array.<string> | undefined <optional>

POIs IDs list to obtain. If this option is included, the categories property will be ignored. Does not apply any other constructor options.

searchByScale boolean | undefined <optional>

Specify if you need to group POIs depending on parameters: bounds, width and height.

width number | undefined <optional>

Width, in pixels.

wkt string | undefined <optional>

Get all the POIs from selected categories, that intersects a polygon, in WKT format

PoisParams{Object}

Properties:
Name Type Argument Description
cmd 'pois'
searchIn string <optional>
extent string <optional>
getpoicats string <optional>
gpoicats string <optional>
width number <optional>
height number <optional>
gridsize number <optional>
wkt string <optional>
buffer number <optional>
poilist string <optional>