Return 0
usmansaif opened this issue · comments
In laravel I sue this package but it return
Position {#405 ▼
+countryName: ""
+countryCode: ""
+regionCode: ""
+regionName: ""
+cityName: ""
+zipCode: ""
+isoCode: ""
+postalCode: ""
+latitude: "0"
+longitude: "0"
+metroCode: "0"
+areaCode: null
+driver: "Stevebauman\Location\Drivers\FreeGeoIp"
}
please guide me
Hi, have you tried changing drivers via config/location.php
at all to see if your data changes?
hey how can i get just the selected things from position object? like if i want to get just the country name
I also have this problem Steve, all is empty
+countryName: ""
+countryCode: ""
+regionCode: ""
+regionName: ""
+cityName: ""
+zipCode: ""
+isoCode: ""
+postalCode: ""
+latitude: "0"
+longitude: "0"
+metroCode: "0"
+areaCode: null
+driver: "Stevebauman\Location\Drivers\FreeGeoIp"
I have removed this package from my project. Because, I have short deadline, therefore, I'll be removed this package.
In your config/location file use the driver as follows
'driver' => Stevebauman\Location\Drivers\GeoPlugin::class,
This works!