Location Details Incorrect #111
dmcchanaka
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please check this and confirm why this happend ? im sending 'DALLAS' & 'PA'. but receiving Totally wrong result. my request is
$locationInfo = Geocoder::getCoordinatesForAddress('DALLAS', 'PA');
response is
array:8 [ // app\Imports\SyncTransportationInfo.php:54 "lat" => 32.7766642 "lng" => -96.7969879 "accuracy" => "APPROXIMATE" "formatted_address" => "Dallas, TX, USA" "viewport" => {#1339 +"northeast": {#1338 +"lat": 33.0237921 +"lng": -96.4637581 } +"southwest": {#1340 +"lat": 32.617537 +"lng": -96.999347 } } "address_components" => array:4 [ 0 => {#1337 +"long_name": "Dallas" +"short_name": "Dallas" +"types": array:2 [ 0 => "locality" 1 => "political" ] } 1 => {#1335 +"long_name": "Dallas County" +"short_name": "Dallas County" +"types": array:2 [ 0 => "administrative_area_level_2" 1 => "political" ] } 2 => {#1301 +"long_name": "Texas" +"short_name": "TX" +"types": array:2 [ 0 => "administrative_area_level_1" 1 => "political" ] } 3 => {#1330 +"long_name": "United States" +"short_name": "US" +"types": array:2 [ 0 => "country" 1 => "political" ] } ] "partial_match" => false "place_id" => "ChIJS5dFe_cZTIYRj2dH9qSb7Lk" ]
Beta Was this translation helpful? Give feedback.
All reactions