mmedojevicbg/yii2-geopicker

Geolocation picker widget for Yii2 based on Google Maps

Maintainers

Package info

github.com/mmedojevicbg/yii2-geopicker

Language:JavaScript

Type:yii2-extension

pkg:composer/mmedojevicbg/yii2-geopicker

Statistics

Installs: 794

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2016-06-27 11:29 UTC

This package is auto-updated.

Last update: 2026-03-11 00:27:43 UTC


README

This is a form widget which displays Google map and stores data as latitude/longitude pair.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist mmedojevicbg/yii2-geopicker "dev-master"

or add

"mmedojevicbg/yii2-geopicker": "dev-master"

to the require section of your composer.json file.

Usage

$form->field($model, 'location1')->widget(mmedojevicbg\GeoPicker\GeoPicker::className(), [
	'apiKey' => 'YOUR_API_KEY'
])