When passing Google Maps API an address, it used to return a HTML formatted response. Given the new format of the response, is there something better than tagdata( to pull the lat & lng of “location”?
"formatted_address" : "3040 SE 143rd Ave, Portland, OR 97236, USA",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : 45.5001223,
"lng" : -122.5160117
},
"southwest" : {
"lat" : 45.5000205,
"lng" : -122.5162573
}
},
"location" : {
"lat" : 45.50007009999999,
"lng" : -122.5161041
},
"location_type" : "ROOFTOP",
"viewport" : {
"northeast" : {
"lat" : 45.5014203802915,
"lng" : -122.5147855197085
},
"southwest" : {
"lat" : 45.4987224197085,
"lng" : -122.5174834802915
}
}
},
Or is it time to drop back to standard text funnelling and parsing?