SiteWatch API Help

routeCheckPoint

routeCheckPoint

Previous topic Next topic  

routeCheckPoint

Previous topic Next topic  

A method to set a route check point to a map location.

 

Parameter

Value

x: number

isn93 x-coordinate of start location.

y: number

isn93 y-coordinate of start location.

searchDistance: integer (optional)

Radius of area from point in meters to the street.

function: name

An asynchronous JavaScript function that implements the logic when the function call returns.

scope: name (optional)

Owner of the current object.

 

Example:

function rResult(map, res)

{

var r = res.OK; //Search success (true) or failure (false).

}

 

var searchRadius = 100;

 

map.routeCheckPoint(358455, 407655, searchRadius, rResult, this);