PHPackages                             msvdev/yii2-widget-mappicker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. msvdev/yii2-widget-mappicker

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

msvdev/yii2-widget-mappicker
============================

Yii2 map widget allows you to simplify the entry of geographic coordinates for your form. Support google and yandex maps services.

1.0.1(8y ago)98.6k4[1 PRs](https://github.com/mihaylichenko/yii2-widget-mappicker/pulls)MITPHP

Since Feb 21Pushed 6y ago3 watchersCompare

[ Source](https://github.com/mihaylichenko/yii2-widget-mappicker)[ Packagist](https://packagist.org/packages/msvdev/yii2-widget-mappicker)[ Docs](https://github.com/mihaylichenko/yii2-widget-mappicker)[ RSS](/packages/msvdev-yii2-widget-mappicker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Map input widget for Yii2
=========================

[](#map-input-widget-for-yii2)

The widget allows you to simplify the entry of geographic coordinates for your form. Support google and yandex maps services.

Installation
------------

[](#installation)

The preferred way to install this extension is through composer.

```
$ php composer.phar require msvdev/yii2-widget-mappicker "*"

```

or add

```
"msvdev/yii2-widget-mappicker": "*"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

\###Minimal example for google maps

```
echo $form->field($model, 'coordinatesAttribute')->widget(\msvdev\widgets\mappicker\MapInput::className(), ['apiKey' => 'google_api_key']);
```

### Minimal example for yandex maps

[](#minimal-example-for-yandex-maps)

```
echo $form->field($model, 'coordinatesAttribute')->widget(\msvdev\widgets\mappicker\MapInput::className(), ['service' => 'yandex']);
```

### Example settings

[](#example-settings)

```
use \msvdev\widgets\mappicker\MapInput;

echo $form->field($model, 'coordinatesAttribute')->widget(
    MapInput::className(),
    [
        'language' => 'en-Us', // map language, default is the same as in the app
        'service' => 'google', // map service provider, "google" or "yandex", default "google"
        'apiKey' => '', // required google maps
        'coordinatesDelimiter' => '@', // attribute coordinate string delimiter, default "@" (lat@lng)
        'mapWidth' => '800px', // width map container, default "500px"
        'mapHeight' => '500px', // height map container, default "500px"
        'mapZoom' => '14', // map zoom value, default "10"
        'mapCenter' => [55.753338, 37.622861], // coordinates center map with an empty attribute, default Moscow
    ]
);
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~773 days

Total

2

Last Release

2966d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/67a76831142b8a06dc6b98f325063fddc5f1c48e6bd002e48f17fc3629807530?d=identicon)[mihaylichenko](/maintainers/mihaylichenko)

---

Top Contributors

[![SenyaWTF](https://avatars.githubusercontent.com/u/3999419?v=4)](https://github.com/SenyaWTF "SenyaWTF (6 commits)")

---

Tags

google-mapsyandex-mapsyii2yii2-widgetspluginmapyii2extensionwidgetgooglemapyandexmap

### Embed Badge

![Health badge](/badges/msvdev-yii2-widget-mappicker/health.svg)

```
[![Health](https://phpackages.com/badges/msvdev-yii2-widget-mappicker/health.svg)](https://phpackages.com/packages/msvdev-yii2-widget-mappicker)
```

###  Alternatives

[kartik-v/yii2-widget-typeahead

Enhanced Yii2 wrapper for the Twitter Typeahead plugin (sub repo split from yii2-widgets).

454.8M9](/packages/kartik-v-yii2-widget-typeahead)[kartik-v/yii2-widget-colorinput

An enhanced Yii 2 widget encapsulating the HTML 5 color input (sub repo split from yii2-widgets)

324.8M10](/packages/kartik-v-yii2-widget-colorinput)[kartik-v/yii2-widget-spinner

A widget to render animated CSS3 loading spinners with VML fallback for IE (sub repo split from yii2-widgets)

283.9M3](/packages/kartik-v-yii2-widget-spinner)[kartik-v/yii2-widget-affix

A scrollspy and affixed enhanced navigation to highlight page sections (sub repo split from yii2-widgets)

153.8M3](/packages/kartik-v-yii2-widget-affix)[kolyunya/yii2-map-input-widget

Yii2 map input widget. Allows you to select geographcal coordinates via a human-friendly inteface.

2836.3k4](/packages/kolyunya-yii2-map-input-widget)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
