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 callbackFnfunction 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 optionsOptions
Name Type Description countryIdstring | undefined Country code filter (ctryc)
countrystring | undefined Country name filter (ctryn)
regionIdstring | undefined Region code filter (regc)
regionstring | undefined Region name filter (regn)
subregionIdstring | undefined Subregion code filter (subregc)
subregionstring | undefined Subregion name filter (subregn)
subOrRegionstring | undefined Region and Subregion name filter (rsn)
municipalityIdstring | undefined Municipality code filter (munc)
municipalitystring | undefined Municipality name filter (munn)
cityIdstring | undefined Town code filter (ctc)
citystring | undefined Town name filter (ctn)
postalCodestring | undefined Postal code filter (pcode)
streetIdstring | undefined Street code filter (stc)
streetstring | undefined Street name filter (stn)
housenumbernumber | undefined House number filter (stnum)
addressstring | undefined Street name filter with house number
positioncercalia.LonLat | undefined Position of center to calculate isochrone request.
weightstring | undefined Type of search value. Possible values
distanceortime. Default valuedistanceinverseboolean | undefined If
false, the calculation is from the center to outside. Iftrue, the calculation is from outside to the center. Default valuefalse.methodstring | undefined Calculation method. Por defecto:
convexhullorconcavehull. Default valueconvexhull.isolevelsnumber | undefined Value, or incremental values list used for isochrone calculation (meters or miliseconds). Ex:
10000,5000,10000,20000.