I am developing a map application on Android which is about finding best roads. The problem is not all roads name are on Google API so i have it on one JSon file. Which is the best way to get coordinates from JSon file and show it to Android App with lines from position A to B.
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:OGC:1.3:CRS84"
}
},
"features": [
{
"type": "Feature",
"properties": {
"Name": "po",
"description": "",
"timestamp": null,
"begin": null,
"end": null,
"altitudeMode": null,
"tessellate": -1,
"extrude": 0,
"visibility": -1,
"drawOrder": null,
"icon": null,
"description_1": null,
"Number": "10",
"RoadNameCo": "03_10234",
"RoadNameAL": "MEHDI HOXHA"
},
"geometry": {
"type": "Point",
"coordinates": [
20.853835,
42.601668,
0
]
}
},
{
"type": "Feature",
"properties": {
"Name": "po",
"description": "",
"timestamp": null,
"begin": null,
"end": null,
"altitudeMode": null,
"tessellate": -1,
"extrude": 0,
"visibility": -1,
"drawOrder": null,
"icon": null,
"description_1": null,
"Number": "16",
"RoadNameCo": "03_10234",
"RoadNameAL": "MEHDI HOXHA"
},
"geometry": {
"type": "Point",
"coordinates": [
20.854006,
42.60127,
0
]
}
}
]
}