Download the PHP package leonardoxr/yii2-leaflet-extension without Composer
On this page you can find all versions of the php package leonardoxr/yii2-leaflet-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download leonardoxr/yii2-leaflet-extension
More information about leonardoxr/yii2-leaflet-extension
Files in leonardoxr/yii2-leaflet-extension
Package yii2-leaflet-extension
Short Description LeafLet Mobile-Friendly Interactive Maps Extension Library for Yii2.
License BSD-3-Clause
Homepage http://yiiwheels.com/extension/leaflet-extension-library
Informations about the package yii2-leaflet-extension
LeafLet Extension for Yii2
Extension library to display interactive maps with LeafletJs
Installation
The preferred way to install this extension is through
composer. This requires the
composer-asset-plugin
,
which is also a dependency for yii2 – so if you have yii2 installed, you are
most likely already set.
Either run
or add
to the require section of your application's composer.json
file.
Usage
One of the things to take into account when working with LeafletJs is that we need a Tile Provider. Is very important, if we fail to provide a Tile Provider Url, the map will display plain, without any maps at all.
The following example, is making use of MapQuest:
Testing
To test the extension, is better to clone this repository on your computer. After, go to the extensions folder and do
the following (assuming you have composer
installed on your computer):
Once all required libraries are installed then do:
Further Information
For further information regarding the multiple settings of LeafLetJS library please visit its API reference
Contributing
Please see CONTRIBUTING for details.
Credits
- Antonio Ramirez
- All Contributors
License
The BSD License (BSD). Please see License File for more information.
Web development has never been so fun!
www.2amigos.us