new cercalia.service.Isochrone(opt_options)
Isochrone service constructor
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Isochrone request options
|
Extends
Methods
-
calculate(callbackFn)
src/cercalia/service/isochrone.js, line 229 -
Do isochrone request.
Name Type Description callbackFn
function Callback Function
-
clear()
src/cercalia/service/isochrone.js, line 159 -
Use null to all properties.
-
Returns:
Get Class name of object
-
Returns:
Unique Id.
-
setSearch(options)
src/cercalia/service/isochrone.js, line 189 -
Name Type Description options
Options
Name Type Description countryId
string | undefined Country code filter (ctryc)
country
string | undefined Country name filter (ctryn)
regionId
string | undefined Region code filter (regc)
region
string | undefined Region name filter (regn)
subregionId
string | undefined Subregion code filter (subregc)
subregion
string | undefined Subregion name filter (subregn)
subOrRegion
string | undefined Region and Subregion name filter (rsn)
municipalityId
string | undefined Municipality code filter (munc)
municipality
string | undefined Municipality name filter (munn)
cityId
string | undefined Town code filter (ctc)
city
string | undefined Town name filter (ctn)
postalCode
string | undefined Postal code filter (pcode)
streetId
string | undefined Street code filter (stc)
street
string | undefined Street name filter (stn)
housenumber
number | undefined House number filter (stnum)
address
string | undefined Street name filter with house number
position
cercalia.LonLat | undefined Position of center to calculate isochrone request.
weight
string | undefined Type of search value. Possible values
distance
ortime
. Default valuedistance
inverse
boolean | undefined If
false
, the calculation is from the center to outside. Iftrue
, the calculation is from outside to the center. Default valuefalse
.method
string | undefined Calculation method. Por defecto:
convexhull
orconcavehull
. Default valueconvexhull
.isolevels
number | undefined Value, or incremental values list used for isochrone calculation (meters or miliseconds). Ex:
10000
,5000,10000,20000
.