Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not work in Laravel 7.0 #50

Open
helesjunior opened this issue Jun 27, 2020 · 1 comment
Open

Not work in Laravel 7.0 #50

helesjunior opened this issue Jun 27, 2020 · 1 comment

Comments

@helesjunior
Copy link

Is not working in laravel 7.0
" - Conclusion: don't install laravel/framework v7.17.2"

@faisalsehar786
Copy link

$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 .= "&region=".$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 .= "&region=".$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/

https://www.youtube.com/watch?v=LTJ5t3fXoXU&t=699s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants