2017 © Pedro Peláez
 

library google-static-map-laravel

Generates a static map using Google Map

image

nmfzone/google-static-map-laravel

Generates a static map using Google Map

  • Monday, January 8, 2018
  • by nmfzone
  • Repository
  • 1 Watchers
  • 1 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 17 Versions
  • 8 % Grown

The README.md

Google Static Map Generator

Generate static map using Google Map API in Laravel., (*1)

Installation

Requirements

>= PHP 7.1

Installation in Laravel 5.5 and up

$ composer require nmfzone/google-static-map-laravel

The package will automatically register itself., (*2)

Installation in Laravel 5.4

$ composer require nmfzone/google-static-map-laravel

Next up, the service provider must be registered:, (*3)

// config/app.php

'providers' => [
    ...
    NMFCODES\GoogleStaticMap\GoogleStaticMapServiceProvider::class,
];

If you want to make use of the facade you must install it as well:, (*4)

// config/app.php

'aliases' => [
    ...
    'GoogleStaticMap' => NMFCODES\GoogleStaticMap\GoogleStaticMapFacade::class,
];

If you want to change the default config, you must publish the config file:, (*5)

$ php artisan vendor:publish --provider="NMFCODES\GoogleStaticMap\GoogleStaticMapServiceProvider"

Installation in Lumen

$ composer require nmfzone/google-static-map-laravel

Next up, the service provider must be registered:, (*6)

// bootstrap/app.php

$app->register(NMFCODES\GoogleStaticMap\GoogleStaticMapServiceProvider::class);

Usage

Using facade (with default config),, (*7)

GoogleStaticMap::setCenter('Yogyakarta')->getUrl();

If you want to use the default marker, you can call make($latitude, $longitude) first:, (*8)

GoogleStaticMap::make('-7.797068', '110.370529')->getUrl();

GoogleStaticMap::make('-7.797068', '110.370529')->setCenter('Indonesia')->setZoom('4')->getUrl();

Security

If you discover any security related issues, please email 123.nabil.dev@gmail.com instead of using the issue tracker., (*9)

Credits

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

08/01 2018

dev-master

9999999-dev https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

08/01 2018

v1.8.7

1.8.7.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

26/12 2017

v1.8.6

1.8.6.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.8.5

1.8.5.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.8.4

1.8.4.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.8.3

1.8.3.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.8.2

1.8.2.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.8.1

1.8.1.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.8

1.8.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.7

1.7.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.6

1.6.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.5

1.5.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.4

1.4.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.3

1.3.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.2

1.2.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.1

1.1.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps

04/12 2017

v1.0

1.0.0.0 https://github.com/nmfzone/google-static-map-laravel

Generates a static map using Google Map

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nabil Muhammad Firdaus

laravel generator google static-maps