Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terra-draw

Package Overview
Dependencies
Maintainers
0
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-draw - npm Package Versions

1
8

0.0.1-alpha.49

Diff

Changelog

Source

0.0.1-alpha.49 (2023-11-27)

Features

  • add devcontainer configuration (dcd6886)

Bug Fixes

  • change default minPixelDragDistanceSelecting to 1 (027f63c)
  • ensure post-create runs in codespaces (ea354a9)
  • ensure that google maps cursor changing work across different language settings (cb8431e)
  • ignore input events not on the map surface (#121) (2a8a176)

Tests

  • improve test coverage of Google Maps adapter (814fc17)

Refactors

Chore

  • fix eslint error in circle unit test (a131686)
  • fix nocheck testing on windows (a7ad32a)
  • prevent dev server from reloading unnecessarily (89843cf)
  • remove style.type setting for style sheets as it is deprecated (321d438)
  • update eslint plugins to get commit hooks working (fa054f4)
  • update github actions to use Node v18 (74e78e6)
  • update typescript from version 5.0.3 to 5.2.2 (25bbb26)

Documentation

  • added getting started code for MapLibre (#119) (fa47aa1)
  • updated DEVELOPMENT to reference Node 18 (96fc5d4)
jamesmilneruk
published 0.0.1-alpha.48 •

Changelog

Source

0.0.1-alpha.48 (2023-09-20)

Features

  • prevent creating points around closing point (d28b076)

Bug Fixes

  • corrected project/unproject when tilting/rotating a google vector map (25fe7a2)
  • fire an onFinish event when finished dragging a coordinate or feature (5336035)

Chore

  • document how to use terra draw with a script tag (1e069b4)
  • remove env file (e3f4422)
  • remove ts-node from dependencies list (531d0d1)
jamesmilneruk
published 0.0.1-alpha.47 •

Changelog

Source

0.0.1-alpha.47 (2023-09-01)

Features

  • add getFeaturesAtLngLat and getFeaturesAtPointerEvent methods to terra draw API (f5f824f)
  • add self intersection prevention as a configuration option for select mode (a975295)
  • allow custom limits of microdrags whilst selecting (c02a067)

Bug Fixes

  • resolve issue for polygon snapping where first click does not snap (e13c4e6)

Chore

jamesmilneruk
published 0.0.1-alpha.45 •

Changelog

Source

0.0.1-alpha.45 (2023-08-08)

Features

  • add basic tests for arcgis maps sdk adapter (7fe12a3)
  • add Esri ArcGIS Maps SDK adapter (0fece22)
  • add tests for render method (14a3733)
  • adjust styling to equal other map adapters (2d07973)
  • allow cursors to be configured for built in modes (57a5db2)

Bug Fixes

  • better registration of selections by ignoring microdrags even when not drawing (cd7a8ea)
  • pass modes as array rather than object (80885cc)

Chore

  • add ArcGIS JavaScript SDK to the README (1801e50)
  • split out common patterns guide to its own file (ef721cf)
  • update docs (f1d1832)
jamesmilneruk
published 0.0.1-alpha.44 •

Changelog

Source

0.0.1-alpha.44 (2023-07-25)

Bug Fixes

  • ensure that coordinate precision is limited when dragging a feature (b7da22a)

Chore

  • naive handling of antimeridian crossing for dragging coordinates (8cdb7ab)
jamesmilneruk
published 0.0.1-alpha.43 •

Changelog

Source

0.0.1-alpha.43 (2023-07-24)

Chore

  • add unit tests for function styling for circle, freehand and great circle (78252d7)
  • manually update CHANGELOG (sigh) (8ce3dd8)
jamesmilneruk
published 0.0.1-alpha.42 •

Changelog

Source

0.0.1-alpha.42 (2023-07-24)

Features

  • add function based styling for all modes and styles (11d6c17)

Chore

  • update alpha release script (d1a0bf5)
jamesmilneruk
published 0.0.1-alpha.41 •

Changelog

Source

0.0.1-alpha.41 (2023-07-16)

Chore

  • chore: update readme to confirm it supports MapLibre GL v3 (6e30fda)

  • alpha release script (7b743ab)

jamesmilneruk
published 0.0.1-alpha.40 •

Changelog

Source

0.0.1-alpha.40 (2023-07-15)

Features

  • more robust handling of select mode styling (b5350cc)

Chore

  • add instructions on how to style selected data to getting started guide (c012773)
jamesmilneruk
published 0.0.1-alpha.38 •

Changelog

Source

0.0.1-alpha.38 (2023-07-02)

Bug Fixes

  • ensure styling is updated for MapboxGL/MapLibreGL style only updates (baa63da)
  • ensure terra draw instance is enabled on event callback (bdc22f8)
  • handle select mode dragging features out of lat/lng bounds (52bd009)

Chore

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc