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

issues solved please read this #52

Open
faisalsehar786 opened this issue Jul 11, 2020 · 3 comments
Open

issues solved please read this #52

faisalsehar786 opened this issue Jul 11, 2020 · 3 comments

Comments

@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

@faizan-glowlogix
Copy link

@faisalsehar786 is it working with laravel 7?

@faisalsehar786
Copy link
Author

yes

@farhanwazir
Copy link
Owner

farhanwazir commented Sep 25, 2020 via email

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

3 participants