ohvitorino/openlayers3

This package is abandoned and no longer maintained. No replacement package was suggested.

Openlayers 3 - A high-performance, feature-packed library for all your mapping needs

Installs: 4 430

Dependents: 0

Suggesters: 0

Stars: 0

Watchers: 2

Forks: 1

Language:JavaScript

Type:component

3.15.1 2016-04-15 10:33 UTC

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"
    }
}