azure-maps-drawing-tools
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Azure Maps Drawing Tools Module (Preview)

The Azure Maps Drawing Tools module provides a set of tools for adding drawing capabilities using a mouse or touch to the Azure Maps Web Control. Develop with the control using JavaScript or TypeScript.

Note: This module is currently in preview.

Features

  • Toolbar control
  • Draw: points, lines, polygons, circles, rectangle
  • Drawing interaction types: freehand, click, hybrid
  • Touch support
  • Keyboard shortcuts

How to Install

You can embed the Azure Maps Drawing Tools module source code into your app by installing the NPM package:

npm install azure-maps-drawing-tools

This package includes a minified version of the source code as well as the TypeScript definitions for the Azure Maps Drawing Tools module.

Alternatively, you can also reference the hosted version of the Azure Maps Drawing Tools module by adding the following script tags to your application.

<link rel="stylesheet" href="https://atlas.microsoft.com/sdk/javascript/drawing/1/atlas-drawing.min.css" type="text/css" />
<script src="https://atlas.microsoft.com/sdk/javascript/drawing/1/atlas-drawing.min.js"></script>

Developer Resources

Related Packages

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    635
    • latest

Version History

Package Sidebar

Install

npm i azure-maps-drawing-tools

Weekly Downloads

1,302

Version

1.0.3

License

SEE LICENSE IN LICENSE.TXT

Unpacked Size

523 kB

Total Files

9

Last publish

Collaborators

  • azuremaps