2017 © Pedro Peláez
 

symfony-bundle leaflet-bundle

Leaflet Bundle for Symfony2

image

bmatzner/leaflet-bundle

Leaflet Bundle for Symfony2

  • Friday, November 22, 2013
  • by bmatzner
  • Repository
  • 2 Watchers
  • 3 Stars
  • 948 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 6 % Grown

The README.md

Leaflet Bundle for Symfony2, (*1)

Current Version

Leaflet v0.7.0, (*2)

Installation

Add bundle to your composer.json file

``` js // composer.json, (*3)

{ "require": { // ... "bmatzner/leaflet-bundle": "~0.7" } }, (*4)


### Add bundle to your application kernel ``` php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Bmatzner\LeafletBundle\BmatznerLeafletBundle(), // ... ); }

Download the bundle using Composer

``` bash $ php composer.phar update bmatzner/leaflet-bundle, (*5)


### Install assets Given your server's public directory is named "web", install the public vendor resources ``` bash $ php app/console assets:install web

Optionally, use the --symlink attribute to create links rather than copies of the resources, (*6)

``` bash $ php app/console assets:install --symlink web, (*7)


## Usage Refer to the desired files in your HTML template, e.g. ``` html <link rel="stylesheet" href="{{ asset('bundles/bmatznerleaflet/css/leaflet.css') }}" /> <!--[if lte IE 8]> <link rel="stylesheet" href="{{ asset('bundles/bmatznerleaflet/css/leaflet.ie.css') }} /> <![endif]--> <script type="text/javascript" src="{{ asset('bundles/bmatznerleaflet/js/leaflet.min.js') }}"></script>

Licenses

Refer to the source code of the included files for license information, (*8)

References

  1. http://leafletjs.com/
  2. http://symfony.com/

The Versions

22/11 2013

dev-master

9999999-dev http://leafletjs.com

Leaflet Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript symfony leaflet mapping

22/11 2013

0.7.0

0.7.0.0 http://leafletjs.com

Leaflet Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript symfony leaflet mapping

12/10 2013

0.6.4

0.6.4.0 http://leafletjs.com

Leaflet Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript symfony leaflet mapping

09/02 2013

0.5.1

0.5.1.0 http://leafletjs.com

Leaflet Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript symfony leaflet mapping

18/01 2013

0.5.0

0.5.0.0 http://leafletjs.com

Leaflet Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript symfony leaflet mapping

13/01 2013

0.4.5

0.4.5.0 http://leafletjs.com

Leaflet Bundle for Symfony2

  Sources   Download

MIT

The Requires

 

javascript symfony leaflet mapping