2017 © Pedro Peláez
 

yii2-extension yii2-leaflet-makimarker-plugin

Yii2 Leaflet plugin to create map icons using Maki Icons from MapBox.

image

2amigos/yii2-leaflet-makimarker-plugin

Yii2 Leaflet plugin to create map icons using Maki Icons from MapBox.

  • Saturday, September 10, 2016
  • by tonydspaniard
  • Repository
  • 20 Watchers
  • 1 Stars
  • 1,247 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

Maki Marker Plugin

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

Yii 2 LeafletJs Plugin to create map icons using Maki Icons from MapBox. Markers are retrieved from MapBox's Static Marker Api., (*2)

This Plugin works in conjunction with LeafLet library for Yii 2 framework., (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run, (*5)

composer require 2amigos/yii2-leaflet-makimarker-plugin:~1.0

or add, (*6)

"2amigos/yii2-leaflet-makimarker-plugin" : "~1.0"

to the require section of your application's composer.json file., (*7)

Usage

Using its make method:, (*8)


use dosamigos\leaflet\plugins\makimarker\MakiMarker; use dosamigos\leaflet\types\LatLng; use dosamigos\leaflet\layers\Marker; // LeafLet initialization component // ... // Initialize plugin $makimarkers = new MakiMarker(['name' => 'makimarker']); // install $leafLet->installPlugin($makimarkers); // sample location $center = new LatLng(['lat' => 51.508, 'lng' => -0.11]); // generate icon through its icon $marker = new Marker([ 'latLng' => $center, 'icon' => $leafLet->plugins->makimarker->make("rocket",['color' => "#b0b", 'size' => "m"]), 'popupContent' => 'Hey! I am a marker' ]);

Testing

$ ./vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details., (*9)

Credits

License

The BSD License (BSD). Please see License File for more information., (*10)

2amigOS!
Web development has never been so fun! www.2amigos.us, (*11)

The Versions

10/09 2016

dev-master

9999999-dev http://yiiwheels.com/extension/leaflet-makimarkers-plugin

Yii2 Leaflet plugin to create map icons using Maki Icons from MapBox.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

plugin extension yii2 2amigos yii maps yii 2 widget leaflet

10/09 2016

1.0.2

1.0.2.0 http://yiiwheels.com/extension/leaflet-makimarkers-plugin

Yii2 Leaflet plugin to create map icons using Maki Icons from MapBox.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

plugin extension yii2 2amigos yii maps yii 2 widget leaflet

02/08 2016

1.0.1

1.0.1.0 http://yiiwheels.com/extension/leaflet-makimarkers-plugin

Yii2 Leaflet plugin to create map icons using Maki Icons from MapBox.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

plugin extension yii2 2amigos yii maps yii 2 widget leaflet

02/04 2015

1.0.0

1.0.0.0 http://yiiwheels.com/extension/leaflet-makimarker-plugin

Yii2 Leaflet plugin to create map icons using Maki Icons from MapBox.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

plugin extension yii2 2amigos yii maps yii 2 widget leaflet

17/02 2014

0.1.0

0.1.0.0

Yii2 Leaflet plugin to create map icons using Maki Icons from MapBox.

  Sources   Download

BSD-3-Clause

The Requires

 

plugin extension yii maps widget leaflet