surveyjs-widgets-leaflet

0.0.2 • Public • Published

Widgets

Same as surveyjs-widgets-leaflet, but with an extra widget

Software License

Getting started

es5 examples: https://surveyjs.io/Examples/Library/?id=custom-widget-select2-tagbox
es modules examples: https://stackblitz.com/edit/surveyjs-widgets-leaflet-react

Install the library using es5.

<script src="https://unpkg.com/surveyjs-widgets-leaflet"></script>

Install the library using npm.

npm install surveyjs-widgets-leaflet

Or use unpkg CDN: https://unpkg.com/surveyjs-widgets-leaflet@{version-number}/surveyjs-widgets-leaflet.min.js

You find all versions/builds in the surveyjs/build repo.

Building surveyjs-widgets-leaflet from sources

To build library yourself:

  1. Clone the repo from GitHub

    git clone https://github.com/surveyjs/widgets.git
    cd surveyjs-widgets-leaflet
    
  2. Acquire build dependencies. Make sure you have Node.js installed on your workstation. This is only needed to build surveyjs from sources.

    npm install
    
  3. Build the library

    npm run build
    

    After that you should have the libraries (angular, jquery, knockout, react and vue) at 'packages' directory.

  4. Add your own custom widget

    Please go to this plunker and select customwidget.js to review the code and comments.

    The same plunker example, but for Survey Creator / Form Builder

License

MIT license

Readme

Keywords

none

Package Sidebar

Install

npm i surveyjs-widgets-leaflet

Weekly Downloads

1

Version

0.0.2

License

none

Unpacked Size

2.09 MB

Total Files

94

Last publish

Collaborators

  • rveciana