2017 © Pedro Peláez
 

symfony-bundle form-spatial

Spatial support for Symfony2 forms with Google Maps

image

looptribe/form-spatial

Spatial support for Symfony2 forms with Google Maps

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 4 Versions
  • 36 % Grown

The README.md

Form Spatial Bundle

Spatial support for Symfony2 forms with Google Maps., (*1)

Package version, (*2)

This package is a Symfony2 forms integration of creof/doctrine2-spatial. It adds a new form type point to edit spatial Point types with Google Maps., (*3)

Installation

``` bash $ php composer.phar require looptribe/form-spatial dev-master, (*4)


``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Looptribe\FormSpatialBundle\LooptribeFormSpatialBundle(), // ... ); }

``` yml, (*5)

app/config/parameters.yml

parameters: looptribe.formspatial.google_maps_api_key: YOUR_API_KEY, (*6)


## Usage When you create a form set your Point field type as `Looptribe\FormSpatialBundle\Form\Type\PointType`: ``` php <?php public function buildForm(FormBuilderInterface $builder, array $options) { $builder // ... ->add('location', Looptribe\FormSpatialBundle\Form\Type\PointType::class) // ... ; }

Development

At the moment only the geography Point type is supported., (*7)

The Versions

19/04 2018

dev-master

9999999-dev http://github.com/looptribe/form-spatial

Spatial support for Symfony2 forms with Google Maps

  Sources   Download

MIT

The Requires

 

form admin spatial gmaps

19/04 2018

v0.0.3

0.0.3.0 http://github.com/looptribe/form-spatial

Spatial support for Symfony2 forms with Google Maps

  Sources   Download

MIT

The Requires

 

form admin spatial gmaps

31/05 2017

v0.0.2

0.0.2.0 http://github.com/looptribe/form-spatial

Spatial support for Symfony2 forms with Google Maps

  Sources   Download

MIT

The Requires

 

form admin spatial gmaps

22/09 2015

v0.0.1

0.0.1.0 http://github.com/looptribe/form-spatial

Spatial support for Symfony2 forms with Google Maps

  Sources   Download

MIT

The Requires

 

form admin spatial gmaps