定制 ohvitorino/openlayers3 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ohvitorino/openlayers3

最新稳定版本:3.15.1

Composer 安装命令:

composer require ohvitorino/openlayers3

包简介

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

README 文档

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

统计信息

  • 总下载量: 41.58k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: Copyright
  • 更新时间: 2015-04-01