Open helesjunior opened 4 years ago
$data_location = "https://maps.google.com/maps/api/geocode/json?address=".urlencode(utf8_encode($address))."&key=".config('googlemaps.key')."&sensor=".$this->sensor; if ($this->region != "" && strlen($this->region) == 2) { $data_location .= "®ion=".$this->region; } D:\xampp\htdocs\googlemap\vendor\farhanwazir\laravelgooglemaps\src\FarhanWazir\GoogleMaps\GMaps.php if map not working first get google api key is vailed and enable map service and for direction enable direction services and this package working with price plain of map and after these things map not still working then please go to D:\xampp\htdocs\googlemap\vendor\farhanwazir\laravelgooglemaps\src\FarhanWazir\GoogleMaps\GMaps.php and replace code $data_location = "https://maps.google.com/maps/api/geocode/json?address=".urlencode(utf8_encode($address))."&key=".config('googlemaps.key')."&sensor=".$this->sensor; if ($this->region != "" && strlen($this->region) == 2) { $data_location .= "®ion=".$this->region; } if working on server enable file_get_contents and any js changes of google map js related file is D:\xampp\htdocs\googlemap\vendor\farhanwazir\laravelgooglemaps\src\FarhanWazir\GoogleMaps\GMaps.php
for help http://biostall.com/demos/google-maps-v3-api-codeigniter-library/
Is not working in laravel 7.0 " - Conclusion: don't install laravel/framework v7.17.2"