Json Addresses Geocode to Coordinates - Xamarin Android

Hi,

I am trying to add a list of Addresses from a JSON Array ( the dimension of the array is not finite ) to a map like markers , geocoding the addresses to get the coordinates from them.

The map is already build, I just have to insert the markers from this JSON, but I am not able to geocode them. If someone could give me a sample or an example of code I would really appreciate it.

This the JSON
[
   {
      "localitate": "Targoviste",
      "strada": "Calea Bucuresti 40",
      "bloc": "N3",
      "scara": "B"
   },
   {
      "localitate": "Bucuresti",
      "strada": "Ion Mihalache 38",
      "bloc": "33A",
      "scara": "A"
   },
   {
      "localitate": "Bucuresti",
      "strada": "I.C Bratianu 44",
      "bloc": null,
      "scara": null
   },
   {
      "localitate": "Bucuresti",
      "strada": "Iuliu Maniu 74",
      "bloc": "5",
      "scara": "D"
   },
   {
      "localitate": "Bucuresti",
      "strada": "Calea Plevnei 20",
      "bloc": null,
      "scara": "C"
   },
   {
      "localitate": "Bucuresti",
      "strada": "Calea Dorbanti 111",
      "bloc": null,
      "scara": null
   },
   {
      "localitate": "Bucuresti",
      "strada": "Calea Victoriei 32",
      "bloc": "32",
      "scara": null
   },
   {
      "localitate": "Bucuresti",
      "strada": "Lascar Catargiu 10",
      "bloc": null,
      "scara": null
   },
   {
      "localitate": "Bucuresti",
      "strada": "Gheorge Sincai 13",
      "bloc": "5",
      "scara": "1"
   },
   {
      "localitate": "Bucuresti",
      "strada": "Calea Rahovei 293",
      "bloc": "81A",
      "scara": null
   }
]

Sign In or Register to comment.