Google Maps request limit expires with only 1 request in laravel

2

Hello, I'm testing a google maps API for my laravel project ( link ) and when I make a map request only limit of API requests expires, I would like to know if anyone has already used this API in laravel and if they have any idea why this occurs. Here is 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>
    
asked by anonymous 21.09.2018 / 16:23

0 answers