Skip to content

alexrvs/yii2-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Map

Google Map in your web app

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist alexrvs/yii2-map "*"

or add

"alexrvs/yii2-map": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

use namespace

<?php 
use alexrvs\Map;		

?>

how to use widget: 

```php

<?= 

Map::widget([
    'zoom' => 16,
    'center' => 'Red Square',
    'width' => 700,
    'height' => 400,
    'mapType' => Map::MAP_TYPE_SATELLITE,
]);
?> 

About

Google map for your yii2-advanced appliction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages