Add-on Directory

← Back

myscript-math-web

:pencil2: :cloud: The easy way to integrate mathematical expressions handwriting recognition in your web app.

Author

Contributors

Rating

Popularity

<100

[ This description is mirrored from README.md at github.com/MyScript/myscript-math-web on 2019-05-22 ]

MyScript Math Web

npm version Published on Vaadin  Directory Stars on vaadin.com/directory Published on webcomponents.org Examples Documentation

The easy way to integrate mathematical expressions handwriting recognition in your web app.

myscript-math-web is a Web component that can be used in every web application to bring mathematical handwriting recognition and conversion.

It integrates all you need:

  • Signal capture for all devices,
  • Digital ink rendering,
  • Link to MyScript Cloud to bring handwriting recognition.

Table of contents

Examples

If you're not familiar with MyScript and Interactive Ink, consider discovering its major features with our math demo.

Simple example of myscript-math-web.

All our examples with the source codes.

Features

  • Easy to integrate,
  • Digital ink capture and rendering,
  • Rich editing gestures,
  • Content export,
  • Styling,
  • Typeset support,
  • More than 200 mathematical symbols supported.

You can discover all the math features on our Developer website.

Requirements

  1. Have npm or yarn installed.
  2. Have a MyScript developer account. You can create one here.
  3. Get your keys and the free monthly quota to access MyScript Cloud at developer.myscript.com

Installation

Use an existing project or start a fresh one.

npm init

Install myscript-math-web and use it as showed in the Usage section.

npm install myscript-math-web

Usage

  1. Create an index.html file in the same directory.

  2. Add the following lines in the head section to import the library and the webcomponents polyfill.

<script type="module" src="node_modules/myscript-math-web/myscript-math-web.js"></script>
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
  1. Still in the head section, add the following style:
<style>
    myscript-math-web {
        height: 100vh;
    }
</style>
  1. Use the component in the body section with the keys you received by mail.
<myscript-math-web
  applicationkey="YOUR MYSCRIPT DEVELOPER APPLICATION KEY"
  hmackey="YOUR MYSCRIPT DEVELOPER HMAC KEY">
</myscript-math-web>
  1. Your index.html file should look like this:
<html>
    <head>
        <script type="module" src="node_modules/myscript-math-web/myscript-math-web.js"></script>
        <script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
        <style>
            myscript-math-web {
                height: 100vh;
            }
        </style>
    </head>
    <body>
      <myscript-math-web
        applicationkey="YOUR MYSCRIPT DEVELOPER APPLICATION KEY"
        hmackey="YOUR MYSCRIPT DEVELOPER HMAC KEY">
      </myscript-math-web>
    </body>
</html>
  1. Launch a local Web server to start using it! We recommend to use the polymer one, you can find more information on the Polymer website.
polymer serve

You can find this guide and a more complete example on the MyScript Developer website.

Documentation

You can find a complete documentation with the following sections on our Developer website:

We also provide a complete API Reference.

Getting support

You can get support and ask your questions on the dedicated section of MyScript Developer website.

Sharing your feedback

Made a cool app with myscript-math-web? We would love to hear about you! We’re planning to showcase apps using it so let us know by sending a quick mail to myapp@myscript.com

Contributing

We welcome your contributions: if you wish to contribute to myscript-math-web, feel free to fork it!

Please take a look at our contributing guidelines before submitting your pull request.

License

This library is licensed under the Apache 2.0.

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Dependencies

  • polymer#^2.0.1
  • myscript-common-element#master
  • katex#^0.8.3
Released
2018-12-05
Maturity
IMPORTED
License
Apache License 2.0

Compatibility

Framework
Polymer 2.0+
Polymer 1.0+ in 1.2.3
Browser
Browser Independent

MapLibreGL }> add-on - Vaadin Add-on Directory

An extension to Vaadin that provides a Java API for MapLibreGL slippy map component with modern vector layer support. MapLibreGL }> add-on - Vaadin Add-on Directory
[MapLibre GL](https://maplibre.org) is a prominent OSS project creating a modern slippy map component. It was born as a fork of the great work done by engineers at [MapBox](https://www.mapbox.com) and their JS SDK and is to some level API compatible. This project packages that JS component as Vaadin component with clean Java API. You can directly pass [JTS](https://github.com/locationtech/jts) objects for the add-on to render. Features of the }> integration: * Show vector tile maps as background layer * Plot markers, lines and polygons on the map using the "standard" JTS data types. * Binder compatible editor components for Point, LineString and Polygon data types. For code examples, check out the [spatial-spring-boot-example](https://github.com/mstahv/spring-boot-spatial-example) and tests in the project GH repository in src/test/java directory. Online demos: * [Marker, MapTiler base layer & user geolocation](https://addons.dokku1.parttio.org/maplibre) * [Editor fields](https://addons.dokku1.parttio.org/maplibrejtseditors)
View on GitHub

MapLibreGL }> add-on version 0.0.1

MapLibreGL }> add-on version 0.0.2

MapLibreGL }> add-on version 0.0.3

MapLibreGL }> add-on version 0.0.4

MapLibreGL }> add-on version 0.0.5

MapLibreGL }> add-on version 0.0.6

MapLibreGL }> add-on version 1.0.0

MapLibreGL }> add-on version 1.0.1

MapLibreGL }> add-on version 1.1.0

MapLibreGL }> add-on version 1.1.1

MapLibreGL }> add-on version 1.2.0

MapLibreGL }> add-on version 1.3.0

MapLibreGL }> add-on version 1.3.1

MapLibreGL }> add-on version 1.3.2

MapLibreGL }> add-on version 1.3.3

MapLibreGL }> add-on version 1.3.4

MapLibreGL }> add-on version 1.3.5

MapLibreGL }> add-on version 1.4.3

Online