ohvitorino / openlayers3
Openlayers 3 - A high-performance, feature-packed library for all your mapping needs
Installs: 40 481
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Language:JavaScript
Type:component
README
This is OpenLayers3 production package.
To install the package with composer:
composer require ohvitorino/openlayers3
Symfony (Assetic)
If you want to use this within Symfony using Assetic, you need to add the follow configuration to your config.yml
assetic: assets: openlayers3: inputs: - %kernel.root_dir%/../vendor/ohvitorino/openlayers3/ol.js openlayers3_css: inputs: - %kernel.root_dir%/../vendor/ohvitorino/openlayers3/ol.css
Components-installer
Another way to add OpenLayers3 to your project is to use the component-dir
option. The component-dir
option specifies the place to install
OpenLayers3 for example in Symfony under web/assets.
To use this you'll need to add the following to your root composer.json:
{ "require": { "robloach/component-installer": "*" }, "config": { "component-dir": "web/assets" } }