2017 © Pedro Peláez
 

yii2-extension google-map

Yii2 implementation of google map

image

sonkei/google-map

Yii2 implementation of google map

  • Wednesday, February 8, 2017
  • by sonkei
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 25 % Grown

The README.md

sonkei/google-map

Yii2 implementation of google map, (*1)

Software License Creative Commons License, (*2)

sonkei/google-map is designed to work out of the box. It means that installation requires minimal steps. Only one configuration step should be taken and you are ready to have google map on your Yii2 website., (*3)

Installation:

1. Download

Yii2-user can be installed using composer. Run following command to download and install Yii2-user:, (*4)

composer require sonkei/google-map

2. Configure

Add following lines to your main configuration file (components):, (*5)

'assetManager' => [
    'bundles' => [
        'sonkei\gmap\GoogleAsset' => [
            'options' => [
                'language' => 'ru',       # Preferred language
                'region' => 'KG',         # Preffered region
                'libraries' => 'places',  # Required by the plugin
                'googleMapsApiKey' => '', # Your google map api key
            ]
        ]
    ],
],

Or setup parameters of your application (config/params.php), (*6)

return [
    'gmap' => [
        'language' => 'ru',       # Preferred language
        'region' => 'KG',         # Preffered region
        'libraries' => 'places',  # Required by the plugin
        'googleMapsApiKey' => '', # Your google map api key
    ],
];

Where do I go now?

You have sonkei/google-map installed. Now you can use it by:, (*7)

echo \sonkei\gmap\Widget::widget([
    # Options
]);

The Versions

08/02 2017

dev-master

9999999-dev https://github.com/urma94/yii2-google-map

Yii2 implementation of google map

  Sources   Download

BSD-3-Clause

extension yii2 yii google yii 2 widget map

08/02 2017

dev-dev

dev-dev https://github.com/urma94/yii2-google-map

Yii2 implementation of google map

  Sources   Download

BSD-3-Clause

extension yii2 yii google yii 2 widget map

08/02 2017

v1.1

1.1.0.0 https://github.com/urma94/yii2-google-map

Yii2 implementation of google map

  Sources   Download

BSD-3-Clause

extension yii2 yii google yii 2 widget map

08/02 2017

v1

1.0.0.0 https://github.com/urma94/yii2-google-map

Yii2 implementation of google map

  Sources   Download

BSD-3-Clause

extension yii2 yii google yii 2 widget map