Hi there, I was trying to add restrictions to my routes but for some reason, it is not optimizing the way it should be. My code looks something like this.
$location = array(
‘name’ => $name,
‘lat’ => floatval($lat),
‘lng’ => floatval($lng),
‘servicetime’ => 30,
‘restrictions’ => array(
ready => 60
due => 240
)
);
If anyone can help me out, that would be great!