We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi Farhan Wazir, this package works fine, I love it, thanks a lot.
I have one problem to isMarkerInsideGeofence in laravel, my code is
$polygon = array('25.774,-80.190', '18.466,-66.118', '32.321,-64.757', '25.774,-80.190'); $latlngs = array('-12.043333,-77.028333', '-12.043333,-77.028333'); $mapStatus = GMaps::isMarkerInsideGeofence($polygon, $latlngs);
and Laravel response is private function pointStringToCoordinates($pointString) { if(strpos($pointString, ", ") !== false) $coordinates = explode(", ", $pointString); elseif(strpos($pointString, ",") !== false) $coordinates = explode(", ", $pointString); else $coordinates = explode(" ", $pointString); return array("x" => $coordinates[0], "y" => $coordinates[1]); }
private function pointStringToCoordinates($pointString) { if(strpos($pointString, ", ") !== false) $coordinates = explode(", ", $pointString); elseif(strpos($pointString, ",") !== false) $coordinates = explode(", ", $pointString); else $coordinates = explode(" ", $pointString); return array("x" => $coordinates[0], "y" => $coordinates[1]); }
"Undefined offset: 1"
Do you have any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi Farhan Wazir, this package works fine, I love it, thanks a lot.
I have one problem to isMarkerInsideGeofence in laravel, my code is
$polygon = array('25.774,-80.190', '18.466,-66.118', '32.321,-64.757', '25.774,-80.190'); $latlngs = array('-12.043333,-77.028333', '-12.043333,-77.028333'); $mapStatus = GMaps::isMarkerInsideGeofence($polygon, $latlngs);
and Laravel response is
private function pointStringToCoordinates($pointString) { if(strpos($pointString, ", ") !== false) $coordinates = explode(", ", $pointString); elseif(strpos($pointString, ",") !== false) $coordinates = explode(", ", $pointString); else $coordinates = explode(" ", $pointString); return array("x" => $coordinates[0], "y" => $coordinates[1]); }
"Undefined offset: 1"
Do you have any ideas?
The text was updated successfully, but these errors were encountered: