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.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:ezplatform-bundle
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: 2024-11-15 23:36:52 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]