Abaixo, utilizamos o serviço de isochrone do QualP para retornar o contorno das regiões atingíveis em um intervalo de 5 minutos a partir do ponto com latitude -25.0994 e longitude -50.1583, especificando que o retorno deve ser no formato json:
http://api.qualp.com.br/isochrone/v1/json?locations=[{%22lat%22:-25.0994,%22lng%22:-50.1583}]&time=5
O retorno deste requisição é mostrado a seguir:
{
"features": [
{
"properties": {
"opacity": 0.33,
"fill": "#ff0000",
"fillOpacity": 0.33,
"fill-opacity": 0.33,
"fillColor": "#ff0000",
"color": "#ff0000",
"contour": 5
},
"geometry": {
"coordinates": [
[
-50.159271,
-25.09037
],
[
-50.160057,
-25.0924
],
[
-50.160568,
-25.09267
],
[
-50.161293,
-25.09211
],
[
-50.161476,
-25.0924
],
[
-50.160988,
-25.093086
],
[
-50.161182,
-25.093513
],
[
-50.162041,
-25.093145
],
[
-50.164295,
-25.0938
],
[
-50.165901,
-25.0954
],
[
-50.165768,
-25.098866
],
[
-50.165298,
-25.099344
],
[
-50.164745,
-25.098955
],
[
-50.164001,
-25.099106
],
[
-50.163689,
-25.101398
],
[
-50.163879,
-25.102818
],
[
-50.165352,
-25.104452
],
[
-50.165112,
-25.105209
],
[
-50.163296,
-25.105146
],
[
-50.162296,
-25.105576
],
[
-50.161297,
-25.106499
],
[
-50.160416,
-25.108519
],
[
-50.159298,
-25.107992
],
[
-50.158298,
-25.109232
],
[
-50.157295,
-25.109341
],
[
-50.156296,
-25.10853
],
[
-50.156452,
-25.107243
],
[
-50.154888,
-25.105402
],
[
-50.154903,
-25.104399
],
[
-50.154346,
-25.103401
],
[
-50.155041,
-25.101398
],
[
-50.154369,
-25.100399
],
[
-50.154476,
-25.0984
],
[
-50.153797,
-25.097399
],
[
-50.154469,
-25.096573
],
[
-50.154888,
-25.09499
],
[
-50.155746,
-25.094397
],
[
-50.15593,
-25.093399
],
[
-50.155296,
-25.092796
],
[
-50.154297,
-25.092804
],
[
-50.154076,
-25.091619
],
[
-50.153374,
-25.091398
],
[
-50.156296,
-25.090788
],
[
-50.157299,
-25.091709
],
[
-50.158298,
-25.090511
],
[
-50.159271,
-25.09037
]
],
"type": "LineString"
},
"type": "Feature"
}
],
"type": "FeatureCollection"
}