美文网首页
2,ol-ext扩展

2,ol-ext扩展

作者: 桃子味的白开水 | 来源:发表于2019-05-11 20:24 被阅读0次

    openlayers的扩展有两个,一定要切记! 分别对应不同的使用情况!

    NPM packages

    ol-ext exist as ES6 modules (ol-ext) and as pure js (openlayers-ext).

    using ol-ext in a webpack

    • For use with webpack, Rollup, Browserify, or other module bundlers, install the npm ol-ext package and link to the node_modules directory:
    npm install ol-ext
    
    

    See the following examples for more detail on bundling OpenLayers with your application:

    using ol-ext in a web page

    npm install openlayers-ext
    

    相关文章

      网友评论

          本文标题:2,ol-ext扩展

          本文链接:https://www.haomeiwen.com/subject/csamnqtx.html