Limit of google maps requests expires with only 1 request in the Windows

Asked

Viewed 85 times

2

Hello, I’m testing a google maps API for my project (https://github.com/farhanwazir/laravelgooglemaps) And when I just make a map request the API request limit expires, I’d like to know if anyone has ever used this API on Laravel and if they have any idea why this is happening. Follow the test code:

        $m['center'] = 'Praia Grande, São Paulo';
    $m['zoom']   = '18';
    $m['map_height'] = '500px';
    GMaps::initialize($m);
    $map = GMaps::create_map();
    $user = \App\User::all();
    return view('home',compact('user','map'));

view code:

        <div class="row">

        <div class="form-group col-sm-12">
            {!! $map['js'] !!}

            {!! $map['html'] !!}
</div>
  • 1

    You need to add the api key in the file "APP_PATH/config/googlemaps.php"

  • I’ve already announced, I can make the first request, but from the second on it says that the number of daily requests is over, and on the google site it says it has reached 100%.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.