naM ,sevitcepsreP weN

    ol-ssr

    1.0.1 • Public • Published

    ol-ssr

    This is a simple wrapper around OpenLayers using a monkey-patched jsdom that allows Server-Side Rendering in Node.js

    It is meant to be used as a plugin for rlayers

    A stand-alone test example is included in render.test.js and can be used as an inspiration for your own implementation.

    If you want to run it, there is a transpiled version in the NPM package: index.cjs

    Usage

    # Once you have rlayers installed
    npm install --save ol-ssr jsdom canvas
    

    It will enable the RSSRender() call in rlayers

    Install

    npm i ol-ssr

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    777 kB

    Total Files

    7

    Last publish

    Collaborators

    • mmomtchev