donfelice / polygonfieldtypebundle
The Polygon Field Type Bundle is an eZ Platform bundle providing a field type to manage and store geosjon polygons to be used with mapbox.
Package info
github.com/donfelice/polygonfieldtype
Type:ezplatform-bundle
pkg:composer/donfelice/polygonfieldtypebundle
Requires
- php: ^7.1
- ezsystems/ezplatform-admin-ui: ^1.0@dev
- ezsystems/ezplatform-admin-ui-assets: ^1.0@dev
- ezsystems/ezplatform-admin-ui-modules: ^1.0@dev
- ezsystems/ezpublish-kernel: ^7.0@dev
This package is not auto-updated.
Last update: 2026-03-07 06:23:43 UTC
README
The Polygon Field Type Bundle for eZ Platform was made to simplify adding and managing polygons (in the form of geojson) to mapbox maps. For a live example, see http://arealguiden.no/eng/Stavanger-region/Forus.
Installation
Use Composer
Run the following from your website root folder to install Polygon Field Type Bundle:
$ composer require donfelice/PolygonFieldTypeBundle
Activate the bundle
Activate the bundle in app/AppKernel.php file by adding it to the $bundles array in registerBundles method, together with other required bundles:
public function registerBundles() { ... $bundles[] = new Donfelice\PolygonFieldTypeBundle\DonfelicePolygonFieldTypeBundle(); return $bundles; }
Assetic configuration
You need to add it to Assetic configuration in app/config/config.yml, together with EzPlatformAdminUiBundle and all other bundles already configured there:
assetic:
bundles: [EzPlatformAdminUiBundle, DonfelicePolygonFieldTypeBundle]