PHPackages                             codru/yii2-static-map - 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. codru/yii2-static-map

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

codru/yii2-static-map
=====================

Extension for generating static maps (for example for contacts page). Now supports google map and openstreet map

24103PHP

Since Feb 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/codru/yii2-static-map)[ Packagist](https://packagist.org/packages/codru/yii2-static-map)[ RSS](/packages/codru-yii2-static-map/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Static Map
===============

[](#yii2-static-map)

Extension for generating static maps (for example for contacts page). Now support google map and openstreet map

[![Build Status](https://camo.githubusercontent.com/770bab3b2eb521f2bb87778962c3c017c32825e23bbe6ae51ddb4df9e853272e/68747470733a2f2f7472617669732d63692e6f72672f636f6472752f796969322d7374617469632d6d61702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/codru/yii2-static-map)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/886e3b87dfa05d572c00f627917e625f11c20e92b00e575fcc0286b11f84b144/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6472752f796969322d7374617469632d6d61702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/codru/yii2-static-map/?branch=master)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist codru/yii2-static-map "*"

```

or add

```
"codru/yii2-static-map": "*"

```

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

Usage
-----

[](#usage)

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

```
